kotlinx-atomicfu icon indicating copy to clipboard operation
kotlinx-atomicfu copied to clipboard

Moved publishing.gradle to convention plugin

Open dkrasnoff opened this issue 9 months ago • 1 comments

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

dkrasnoff avatar May 10 '24 15:05 dkrasnoff

Depends on https://github.com/Kotlin/kotlinx-atomicfu/pull/434

dkrasnoff avatar May 22 '24 14:05 dkrasnoff

@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

dkrasnoff avatar May 24 '24 16:05 dkrasnoff

@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!

adam-enko avatar May 27 '24 12:05 adam-enko