Build: changed forbidden-apis targetCompatibility to 1.7 for client and client-sniffer

This commit is contained in:
javanna 2016-06-13 09:20:39 +02:00 committed by Luca Cavanna
parent 777d438f48
commit 50b6f4c02f
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,7 @@ 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')]
targetCompatibility = 1.7
}
forbiddenApisTest {
@ -59,6 +60,7 @@ forbiddenApisTest {
bundledSignatures += 'jdk-internal'
//client does not depend on core, so only jdk signatures should be checked
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
targetCompatibility = 1.7
}
//JarHell is part of es core, which we don't want to pull in

View File

@ -49,6 +49,7 @@ 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')]
targetCompatibility = 1.7
}
forbiddenApisTest {
@ -57,6 +58,7 @@ forbiddenApisTest {
bundledSignatures += 'jdk-internal'
//client does not depend on core, so only jdk signatures should be checked
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
targetCompatibility = 1.7
}
//JarHell is part of es core, which we don't want to pull in