Build: changed forbidden-apis targetCompatibility to 1.7 for client and client-sniffer
This commit is contained in:
parent
777d438f48
commit
50b6f4c02f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue