reset to Groovy 3.0.9, Java 11

This commit is contained in:
Jörg Prante 2022-02-22 18:03:40 +01:00
parent 452ff6202b
commit afde7b4e37
3 changed files with 11 additions and 11 deletions

View file

@ -1,9 +1,9 @@
group = org.xbib.groovy group = org.xbib.groovy
name = groovy-extensions name = groovy-extensions
version = 4.0.0 version = 3.0.9.0
org.gradle.warning.mode = ALL org.gradle.warning.mode = ALL
groovy.version = 4.0.0 groovy.version = 3.0.9
gradle.wrapper.version = 7.3.2 gradle.wrapper.version = 7.3.2
files.version = 3.0.0 files.version = 3.0.0
ftp.version = 2.6.0 ftp.version = 2.6.0

View file

@ -1,17 +1,17 @@
apply plugin: 'groovy' apply plugin: 'groovy'
dependencies { dependencies {
implementation "org.apache.groovy:groovy:${project.property('groovy.version')}" implementation "org.codehaus.groovy:groovy:${project.property('groovy.version')}"
} }
compileGroovy { compileGroovy {
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_11
} }
compileTestGroovy { compileTestGroovy {
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_11
} }
tasks.withType(GroovyCompile) { tasks.withType(GroovyCompile) {

View file

@ -6,13 +6,13 @@ java {
} }
compileJava { compileJava {
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_11
} }
compileTestJava { compileTestJava {
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_11
} }
jar { jar {