File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11buildscript {
2- ext. kotlinVersion = ' 1.6.10 '
2+ ext. kotlinVersion = ' 1.6.21 '
33 ext. isCI = System . getenv(' GITHUB_ACTION' ) || System . getenv(' bamboo_buildKey' )
44 repositories {
55 mavenCentral()
@@ -196,8 +196,7 @@ configure(javaProjects) { subproject ->
196196 }
197197
198198 compileJava {
199- sourceCompatibility = JavaVersion . VERSION_17
200- targetCompatibility = JavaVersion . VERSION_17
199+ options. release = 17
201200 }
202201
203202 compileTestJava {
@@ -210,15 +209,15 @@ configure(javaProjects) { subproject ->
210209 kotlinOptions {
211210 languageVersion = ' 1.6'
212211 apiVersion = ' 1.6'
213- jvmTarget = ' 16 '
214- freeCompilerArgs = [' -Xjsr305=strict' , ' -Xsuppress-version-warnings' , ' -Xopt -in=kotlin.RequiresOptIn' ]
212+ jvmTarget = ' 17 '
213+ freeCompilerArgs = [' -Xjsr305=strict' , ' -Xsuppress-version-warnings' , ' -opt -in=kotlin.RequiresOptIn' ]
215214 allWarningsAsErrors = true
216215 }
217216 }
218217
219218 compileTestKotlin {
220219 kotlinOptions {
221- jvmTarget = ' 16 '
220+ jvmTarget = ' 17 '
222221 freeCompilerArgs = [' -Xjsr305=strict' ]
223222 }
224223 }
You can’t perform that action at this time.
0 commit comments