Build: Fix kotlin-reflect publication
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user