- Java 7 cross-compilation support
This commit is contained in:
Radovan Panak 2018-03-08 18:35:43 +01:00
parent 7a047649b1
commit f7a6f95cea
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ allprojects {
executable
}
tasks.withType(JavaCompile) {
sourceCompatibility = '1.7'
project.sourceCompatibility = '1.7'
options.with {
fork = true
forkOptions.javaHome = file(targetJavaHome)