File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,18 @@ allprojects {
9494 }
9595}
9696
97+ configure(subprojects.filter { ! sourceless.contains(it.name) }) {
98+ if (isMultiplatform) {
99+ apply (plugin = " kotlin-multiplatform" )
100+ apply (plugin = " kotlin-multiplatform-conventions" )
101+ } else if (platformOf(this ) == " jvm" ) {
102+ apply (plugin = " kotlin-jvm-conventions" )
103+ } else {
104+ val platform = platformOf(this )
105+ throw IllegalStateException (" No configuration rules for $platform " )
106+ }
107+ }
108+
97109// needs to be before evaluationDependsOn due to weird Gradle ordering
98110configure(subprojects) {
99111 fun Project.shouldSniff (): Boolean =
@@ -109,18 +121,6 @@ configure(subprojects) {
109121 }
110122}
111123
112- configure(subprojects.filter { ! sourceless.contains(it.name) }) {
113- if (isMultiplatform) {
114- apply (plugin = " kotlin-multiplatform" )
115- apply (plugin = " kotlin-multiplatform-conventions" )
116- } else if (platformOf(this ) == " jvm" ) {
117- apply (plugin = " kotlin-jvm-conventions" )
118- } else {
119- val platform = platformOf(this )
120- throw IllegalStateException (" No configuration rules for $platform " )
121- }
122- }
123-
124124configure(subprojects.filter { ! sourceless.contains(it.name) && it.name != testUtilsModule }) {
125125 if (isMultiplatform) {
126126 configure<KotlinMultiplatformExtension > {
Original file line number Diff line number Diff line change 11# Kotlin
22version =1.10.2-SNAPSHOT
33group =org.jetbrains.kotlinx
4- kotlin_version =2.1.0
4+ kotlin_version =2.1.20
55# DO NOT rename this property without adapting kotlinx.train build chain:
66atomicfu_version =0.26.1
77benchmarks_version =0.4.13
You can’t perform that action at this time.
0 commit comments