This works: ``` task androidSourcesJar(type: Jar)...
# build-tools
h
This works:
Copy code
task androidSourcesJar(type: Jar) {
  classifier = 'sources'
  from android.sourceSets.main.java.include(["**/*.kt"]).sourceFiles
}
The
DefaultAndroidSourceDirectorySet
only includes java files by default. This
include
call is mutating, but I can live with that.