Skip to content

Commit

Permalink
build.gradle: target Java 17 for wallettool, tools, examples and inte…
Browse files Browse the repository at this point in the history
…gration-test
  • Loading branch information
schildbach committed Aug 29, 2024
1 parent a08f442 commit 345e5c4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions examples-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ dependencies {
}
compileKotlin {
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
}

sourceCompatibility = 11
sourceCompatibility = 17
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'

compileJava {
options.compilerArgs.addAll(['--release', '11'])
options.compilerArgs.addAll(['--release', '17'])
options.compilerArgs << '-Xlint:deprecation'
}
4 changes: 2 additions & 2 deletions examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ dependencies {
implementation 'org.slf4j:slf4j-jdk14:2.0.13'
}

sourceCompatibility = 11
sourceCompatibility = 17
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'

compileJava {
options.compilerArgs.addAll(['--release', '11'])
options.compilerArgs.addAll(['--release', '17'])
options.compilerArgs << '-Xlint:deprecation'
}
2 changes: 1 addition & 1 deletion integration-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.10.3"
}

sourceCompatibility = 11
sourceCompatibility = 17
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'
Expand Down
4 changes: 2 additions & 2 deletions tools/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ dependencies {
implementation 'org.slf4j:slf4j-jdk14:2.0.13'
}

sourceCompatibility = 11
sourceCompatibility = 17
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'

compileJava {
options.compilerArgs.addAll(['--release', '11'])
options.compilerArgs.addAll(['--release', '17'])
options.compilerArgs << '-Xlint:deprecation'
}

Expand Down
4 changes: 2 additions & 2 deletions wallettool/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ dependencies {
testImplementation 'org.slf4j:slf4j-jdk14:2.0.13'
}

sourceCompatibility = 11
sourceCompatibility = 17
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'

compileJava {
options.compilerArgs.addAll(['--release', '11'])
options.compilerArgs.addAll(['--release', '17'])
options.compilerArgs << '-Xlint:deprecation'
}

Expand Down

0 comments on commit 345e5c4

Please sign in to comment.