aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 4 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 6a055db..a5a7e52 100644
--- a/build.gradle
+++ b/build.gradle
@@ -44,12 +44,13 @@ version = '1.0-SNAPSHOT'
subprojects {
apply plugin: 'java'
- sourceCompatibility = JavaVersion.VERSION_19
- targetCompatibility = JavaVersion.VERSION_19
+ sourceCompatibility = JavaVersion.VERSION_20
+ targetCompatibility = JavaVersion.VERSION_20
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
- options.compilerArgs = ['-Xlint:deprecation']
+ //FIXME stop using the URL deprecated constructors
+ //options.compilerArgs = ['-Xlint:deprecation']
}
task packageSources(type: Jar) {