File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
2
+ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
2
3
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
4
import org.jetbrains.kotlinx.dataframe.AnyFrame
4
5
import org.jetbrains.kotlinx.dataframe.DataFrame
@@ -124,6 +125,8 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
124
125
}
125
126
}
126
127
128
+ kotlin.jvmToolchain(11 )
129
+
127
130
allprojects {
128
131
tasks.withType<KotlinCompile > {
129
132
kotlinOptions {
@@ -160,6 +163,9 @@ allprojects {
160
163
} catch (_: UnknownDomainObjectException ) {
161
164
logger.warn(" Could not set kotlinter config on :${this .name} " )
162
165
}
166
+
167
+ // set the java toolchain version to 11 for all subprojects for CI stability
168
+ extensions.findByType<KotlinJvmProjectExtension >()?.jvmToolchain(11 )
163
169
}
164
170
}
165
171
You can’t perform that action at this time.
0 commit comments