In the Maven configuration you specify that the sources are the Java files via android.sourceSets.main.java.sourceFiles. Very few of the files in this project are *.java files, though.
I think the better thing to do here is:
task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
include "**/*.kt"
}
(Even still I wasn't able to convince Android Studio to attach sources to the files I was debugging. Maybe that just doesn't work with Kotlin.)
In the Maven configuration you specify that the sources are the Java files via
android.sourceSets.main.java.sourceFiles
. Very few of the files in this project are*.java
files, though.I think the better thing to do here is:
(Even still I wasn't able to convince Android Studio to attach sources to the files I was debugging. Maybe that just doesn't work with Kotlin.)