Skip to content

Commit 4524d61

Browse files
authored
Update kotlinx.team.infra plugin (#216)
* Update kotlinx.team.infra plugin Update kotlinx.team.infra to a version that no longer provides native targets and source-set setup functionality that is incompatible with KGP 2.2+. * Workaround KT-61313, which is reproducible since infra plugin 0.4.0-dev-81
1 parent 7dbd115 commit 4524d61

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
}
1010

1111
plugins {
12-
id("kotlinx.team.infra") version "0.4.0-dev-80"
12+
id("kotlinx.team.infra") version "0.4.0-dev-85"
1313
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.16.3"
1414
}
1515

core/build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,15 @@ tasks {
144144
named("jvmTest", Test::class) {
145145
maxHeapSize = "1024m"
146146
}
147+
148+
// See https://youtrack.jetbrains.com/issue/KT-61313
149+
withType<Sign>().configureEach {
150+
val pubName = name.removePrefix("sign").removeSuffix("Publication")
151+
findByName("linkDebugTest$pubName")?.let {
152+
mustRunAfter(it)
153+
}
154+
findByName("compileTestKotlin$pubName")?.let {
155+
mustRunAfter(it)
156+
}
157+
}
147158
}

0 commit comments

Comments
 (0)