|
@@ -20,6 +20,9 @@ tasks.withType(JavaCompile) { // compile-time options:
|
|
//options.compilerArgs << '-Xlint:deprecation' // to show deprecation warnings
|
|
//options.compilerArgs << '-Xlint:deprecation' // to show deprecation warnings
|
|
options.compilerArgs << '-Xlint:unchecked'
|
|
options.compilerArgs << '-Xlint:unchecked'
|
|
options.encoding = 'UTF-8'
|
|
options.encoding = 'UTF-8'
|
|
|
|
+ if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_10)) {
|
|
|
|
+ options.release = 8
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
ext {
|
|
ext {
|
|
@@ -40,7 +43,6 @@ dependencies {
|
|
testImplementation 'org.codehaus.groovy:groovy-test:3.0.14'
|
|
testImplementation 'org.codehaus.groovy:groovy-test:3.0.14'
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
// Uncomment if you want to see the status of every test that is run and
|
|
// Uncomment if you want to see the status of every test that is run and
|
|
// the test output.
|
|
// the test output.
|
|
/*
|
|
/*
|