File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 11import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
2+ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
23import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
34import org.jetbrains.kotlinx.dataframe.AnyFrame
45import org.jetbrains.kotlinx.dataframe.DataFrame
@@ -124,6 +125,8 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
124125 }
125126}
126127
128+ kotlin.jvmToolchain(11 )
129+
127130allprojects {
128131 tasks.withType<KotlinCompile > {
129132 kotlinOptions {
@@ -160,6 +163,9 @@ allprojects {
160163 } catch (_: UnknownDomainObjectException ) {
161164 logger.warn(" Could not set kotlinter config on :${this .name} " )
162165 }
166+
167+ // set the java toolchain version to 11 for all subprojects for CI stability
168+ extensions.findByType<KotlinJvmProjectExtension >()?.jvmToolchain(11 )
163169 }
164170}
165171
You can’t perform that action at this time.
0 commit comments