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 1
1
plugins {
2
- id(" kotlinx.team.infra" ) version " 0.4.0-dev-80 "
2
+ id(" kotlinx.team.infra" ) version " 0.4.0-dev-81 "
3
3
kotlin(" multiplatform" ) apply false
4
4
}
5
5
Original file line number Diff line number Diff line change @@ -304,6 +304,22 @@ tasks {
304
304
exclude(" tmp/.cache/expanded/expanded.lock" )
305
305
})
306
306
}
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
+ }
307
323
}
308
324
309
325
val downloadWindowsZonesMapping by tasks.registering {
Original file line number Diff line number Diff line change @@ -20,3 +20,6 @@ kotlin.mpp.applyDefaultHierarchyTemplate=false
20
20
# Workaround for Bintray treating .sha512 files as artifacts
21
21
# https://github.com/gradle/gradle/issues/11412
22
22
systemProp.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