kotlinx-atomicfu
kotlinx-atomicfu copied to clipboard
Moved publishing.gradle to convention plugin
Divided publishing.gradle
into two convention plugins: non-multiplatform.publish-conventions.gradle.kts
and publish-conventions.gradle.kts
Depends on
- https://github.com/Kotlin/kotlinx-atomicfu/pull/434
Depends on https://github.com/Kotlin/kotlinx-atomicfu/pull/434
@adam-enko, CI say we can not get rid of:
// NOTE: This is a temporary WA, see KT-61313.
tasks.withType<Sign>().configureEach sign@{
val pubName = name.substringAfter("sign").substringBefore("Publication")
// Task ':linkDebugTest<platform>' uses this output of task ':sign<platform>Publication' without declaring an explicit or implicit dependency
tasks.findByName("linkDebugTest$pubName")?.let { linkTask ->
linkTask.mustRunAfter(this@sign)
}
// Task ':compileTestKotlin<platform>' uses this output of task ':sign<platform>Publication' without declaring an explicit or implicit dependency
tasks.findByName("compileTestKotlin$pubName")?.let { compileTask ->
compileTask.mustRunAfter(this@sign)
}
}
https://teamcity.jetbrains.com/buildConfiguration/KotlinTools_KotlinxAtomicfu_BuildAggregatedLinuxWindows/4627137?hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandBuildProblemsSection=true&expandBuildChangesSection=true&expandBuildDeploymentsSection=false
@adam-enko, CI say we can not get rid of:
// NOTE: This is a temporary WA, see KT-61313. tasks.withType<Sign>().configureEach sign@{
D'oh! Oh well, better revert it. Thanks for trying!