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 {
94
94
}
95
95
}
96
96
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
+
97
109
// needs to be before evaluationDependsOn due to weird Gradle ordering
98
110
configure(subprojects) {
99
111
fun Project.shouldSniff (): Boolean =
@@ -109,18 +121,6 @@ configure(subprojects) {
109
121
}
110
122
}
111
123
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
-
124
124
configure(subprojects.filter { ! sourceless.contains(it.name) && it.name != testUtilsModule }) {
125
125
if (isMultiplatform) {
126
126
configure<KotlinMultiplatformExtension > {
Original file line number Diff line number Diff line change 1
1
# Kotlin
2
2
version =1.10.2-SNAPSHOT
3
3
group =org.jetbrains.kotlinx
4
- kotlin_version =2.1.0
4
+ kotlin_version =2.1.20
5
5
# DO NOT rename this property without adapting kotlinx.train build chain:
6
6
atomicfu_version =0.26.1
7
7
benchmarks_version =0.4.13
You can’t perform that action at this time.
0 commit comments