Rohan Maity
06/05/2019, 4:56 PMtask sourcesJar(type: Jar) {
from kotlin.sourceSets.jvmMain.allJava
archiveClassifier = 'sources'
}
I tried this following original java projects. but this didn't workrusshwolf
06/05/2019, 5:09 PMRohan Maity
06/05/2019, 5:10 PMbuild
folderrusshwolf
06/05/2019, 5:11 PMRohan Maity
06/05/2019, 5:12 PMrusshwolf
06/05/2019, 5:12 PMpublishToMavenLocal
and you should see it show up in your local repository which usually lives somewhere like ~/.m2/repository
Rohan Maity
06/05/2019, 5:13 PMsouces.jar
soucres.jar
aar
file using bintray? For android aar
file is generated under build/outputs/aar
. publish.gradle
uploads jar
and dont know how but klib
file too.russhwolf
06/05/2019, 6:27 PMRohan Maity
06/05/2019, 6:45 PM