File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 11plugins {
2- id(" kotlinx.team.infra" ) version " 0.4.0-dev-80 "
2+ id(" kotlinx.team.infra" ) version " 0.4.0-dev-81 "
33 kotlin(" multiplatform" ) apply false
44}
55
Original file line number Diff line number Diff line change @@ -304,6 +304,22 @@ tasks {
304304 exclude(" tmp/.cache/expanded/expanded.lock" )
305305 })
306306 }
307+
308+ // workaround from KT-61313
309+ withType<Sign >().configureEach {
310+ val pubName = name.removePrefix(" sign" ).removeSuffix(" Publication" )
311+
312+ // These tasks only exist for native targets, hence findByName() to avoid trying to find them for other targets
313+
314+ // Task ':linkDebugTest<platform>' uses this output of task ':sign<platform>Publication' without declaring an explicit or implicit dependency
315+ findByName(" linkDebugTest$pubName " )?.let {
316+ mustRunAfter(it)
317+ }
318+ // Task ':compileTestKotlin<platform>' uses this output of task ':sign<platform>Publication' without declaring an explicit or implicit dependency
319+ findByName(" compileTestKotlin$pubName " )?.let {
320+ mustRunAfter(it)
321+ }
322+ }
307323}
308324
309325val downloadWindowsZonesMapping by tasks.registering {
Original file line number Diff line number Diff line change @@ -20,3 +20,6 @@ kotlin.mpp.applyDefaultHierarchyTemplate=false
2020# Workaround for Bintray treating .sha512 files as artifacts
2121# https://github.com/gradle/gradle/issues/11412
2222systemProp.org.gradle.internal.publish.checksums.insecure =true
23+
24+ # stop using pre-HMPP IDEA import workaround in kotlinx.team.infra
25+ useNativeBuildInfraInIdea =true
You can’t perform that action at this time.
0 commit comments