Skip to content

Commit c2f2ec1

Browse files
committed
giving an exception when trying to build the project with another version than jdk 11, to prevent mismatches between generated IR/FIR files
1 parent c40fb04 commit c2f2ec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

settings.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ plugins {
4141
}
4242
include("dataframe-excel")
4343
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+
}

0 commit comments

Comments
 (0)