Build: targetCompatibility and sourceCompatibility are enough to make sure we compile client and client-sniffer with target and source 1.7

This commit is contained in:
javanna 2016-06-14 23:16:38 +02:00 committed by Luca Cavanna
parent cf93e904e3
commit 70fb67cc7b
2 changed files with 0 additions and 6 deletions

View File

@ -46,9 +46,6 @@ dependencies {
signature "org.codehaus.mojo.signature:java17:1.0@signature"
}
compileJava.options.compilerArgs << '-target' << '1.7' << '-source' << '1.7' << '-Xlint:all,-path,-serial,-options'
compileTestJava.options.compilerArgs << '-target' << '1.7' << '-source' << '1.7'
forbiddenApisMain {
//client does not depend on core, so only jdk signatures should be checked
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]

View File

@ -44,9 +44,6 @@ dependencies {
signature "org.codehaus.mojo.signature:java17:1.0@signature"
}
compileJava.options.compilerArgs << '-target' << '1.7' << '-source' << '1.7' << '-Xlint:all,-path,-serial,-options'
compileTestJava.options.compilerArgs << '-target' << '1.7' << '-source' << '1.7'
forbiddenApisMain {
//client does not depend on core, so only jdk signatures should be checked
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]