mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
build.gradle: remove sourceCompatibility
, targetCompatibility
We have defined `release` one way or another, and on JDK 17 that should suffice.
This commit is contained in:
parent
34c1e4b708
commit
c967c6045c
@ -37,8 +37,6 @@ if (GradleVersion.current().compareTo(gradleVersionTargetJVM) > 0) {
|
||||
}
|
||||
}
|
||||
|
||||
sourceCompatibility = 8
|
||||
targetCompatibility = 8
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs.addAll(['--release', '8'])
|
||||
options.compilerArgs << '-Xlint:deprecation'
|
||||
|
@ -11,7 +11,6 @@ compileKotlin {
|
||||
}
|
||||
}
|
||||
|
||||
sourceCompatibility = 17
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
options.release = 17
|
||||
|
@ -8,7 +8,6 @@ dependencies {
|
||||
implementation 'org.slf4j:slf4j-jdk14:2.0.13'
|
||||
}
|
||||
|
||||
sourceCompatibility = 17
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
options.compilerArgs.addAll(['--release', '17'])
|
||||
|
@ -18,7 +18,6 @@ dependencies {
|
||||
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.10.3"
|
||||
}
|
||||
|
||||
sourceCompatibility = 17
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
options.release = 17
|
||||
|
@ -8,7 +8,6 @@ dependencies {
|
||||
implementation 'org.slf4j:slf4j-jdk14:2.0.13'
|
||||
}
|
||||
|
||||
sourceCompatibility = 17
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs.addAll(['--release', '17'])
|
||||
options.compilerArgs << '-Xlint:deprecation'
|
||||
|
@ -20,7 +20,6 @@ javafx {
|
||||
modules = [ 'javafx.controls', 'javafx.fxml' ]
|
||||
}
|
||||
|
||||
sourceCompatibility = 17
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
options.release = 17
|
||||
|
@ -31,7 +31,6 @@ dependencies {
|
||||
testImplementation 'org.slf4j:slf4j-jdk14:2.0.13'
|
||||
}
|
||||
|
||||
sourceCompatibility = 17
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs.addAll(['--release', '17'])
|
||||
options.compilerArgs << '-Xlint:deprecation'
|
||||
|
Loading…
Reference in New Issue
Block a user