Skip to content

Commit 0dd3312

Browse files
committed
Upgrade Java version 11 to 17
1 parent e70769b commit 0dd3312

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
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 }

testlib/build.gradle

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

1414
compileKotlin {
15-
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
15+
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
1616
}
1717

1818
compileTestKotlin {
19-
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
19+
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
2020
}
2121

2222
dependencies {

0 commit comments

Comments
 (0)