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 workRohan Maity
06/05/2019, 5:04 PMrusshwolf
06/05/2019, 5:09 PMRohan Maity
06/05/2019, 5:10 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/repositoryRohan Maity
06/05/2019, 5:13 PMsouces.jarRohan Maity
06/05/2019, 5:14 PMsoucres.jarRohan Maity
06/05/2019, 5:22 PMRohan Maity
06/05/2019, 6:24 PMaar 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 PMrusshwolf
06/05/2019, 6:27 PMrusshwolf
06/05/2019, 6:27 PMRohan Maity
06/05/2019, 6:45 PM