Skip to content

Commit 9e7b09f

Browse files
committed
Upgrade Java version 11 to 17
1 parent cdbdc91 commit 9e7b09f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ archivesBaseName = 'analysis-sudachi'
1717
version = properties["pluginVersion"]
1818

1919
compileKotlin {
20-
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
20+
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
2121
}
2222

2323
compileTestKotlin {
24-
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
24+
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
2525
}
2626

2727
configurations {

buildSrc/src/main/groovy/com/worksap/nlp/tools/EsConventions.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class EsConventions implements Plugin<Project> {
88
@Override
99
void apply(Project target) {
1010
target.tasks.withType(JavaCompile).configureEach {
11-
options.release.set(11)
11+
options.release.set(17)
1212
options.encoding = 'UTF-8'
1313
}
1414

integration/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ plugins {
1414
version = properties["pluginVersion"]
1515

1616
compileKotlin {
17-
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
17+
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
1818
}
1919

2020
compileTestKotlin {
21-
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
21+
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
2222
}
2323

2424
configurations { buildSudachiDict }

0 commit comments

Comments
 (0)