Build: Fix kotlin-reflect publication

This commit is contained in:
Vyacheslav Gerasimov
2020-05-18 18:50:04 +03:00
parent b0c9b88485
commit 567aabeced
+2 -2
View File
@@ -179,7 +179,7 @@ val relocateCoreSources by task<Copy> {
outputs.cacheIf { true } outputs.cacheIf { true }
} }
tasks.getByName("jar").enabled = false noDefaultJar()
java { java {
withSourcesJar() withSourcesJar()
@@ -237,7 +237,7 @@ dexMethodCount {
} }
artifacts { artifacts {
listOf(mainJar.name, "runtime", "archives").forEach { configurationName -> listOf(mainJar.name, "runtime", "archives", "runtimeElements").forEach { configurationName ->
add(configurationName, result.get().outputs.files.singleFile) { add(configurationName, result.get().outputs.files.singleFile) {
builtBy(result) builtBy(result)
} }