Build: Fix kotlin-reflect publication

This commit is contained in:
Vyacheslav Gerasimov
2020-05-18 18:50:04 +03:00
parent b0c9b88485
commit 567aabeced

View File

@@ -179,7 +179,7 @@ val relocateCoreSources by task<Copy> {
outputs.cacheIf { true }
}
tasks.getByName("jar").enabled = false
noDefaultJar()
java {
withSourcesJar()
@@ -237,7 +237,7 @@ dexMethodCount {
}
artifacts {
listOf(mainJar.name, "runtime", "archives").forEach { configurationName ->
listOf(mainJar.name, "runtime", "archives", "runtimeElements").forEach { configurationName ->
add(configurationName, result.get().outputs.files.singleFile) {
builtBy(result)
}