File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
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
Original file line number Diff line number Diff line change @@ -41,7 +41,3 @@ plugins {
41
41
}
42
42
include(" dataframe-excel" )
43
43
include(" core" )
44
-
45
- if (JavaVersion .current() != JavaVersion .VERSION_11 ) {
46
- throw GradleException (" Building this version of the Kotlin DataFrame project can only be done with Java 11." )
47
- }
You can’t perform that action at this time.
0 commit comments