Build: remove explicit targetCompatibility from forbiddenapis config
targetCompatibility set to the project is enough.
This commit is contained in:
parent
70fb67cc7b
commit
7c8013f9fd
|
@ -49,7 +49,6 @@ dependencies {
|
||||||
forbiddenApisMain {
|
forbiddenApisMain {
|
||||||
//client does not depend on core, so only jdk signatures should be checked
|
//client does not depend on core, so only jdk signatures should be checked
|
||||||
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
|
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
|
||||||
targetCompatibility = 1.7
|
|
||||||
}
|
}
|
||||||
|
|
||||||
forbiddenApisTest {
|
forbiddenApisTest {
|
||||||
|
@ -58,7 +57,6 @@ forbiddenApisTest {
|
||||||
bundledSignatures += 'jdk-internal'
|
bundledSignatures += 'jdk-internal'
|
||||||
//client does not depend on core, so only jdk signatures should be checked
|
//client does not depend on core, so only jdk signatures should be checked
|
||||||
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
|
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
|
||||||
targetCompatibility = 1.7
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//JarHell is part of es core, which we don't want to pull in
|
//JarHell is part of es core, which we don't want to pull in
|
||||||
|
|
|
@ -47,7 +47,6 @@ dependencies {
|
||||||
forbiddenApisMain {
|
forbiddenApisMain {
|
||||||
//client does not depend on core, so only jdk signatures should be checked
|
//client does not depend on core, so only jdk signatures should be checked
|
||||||
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
|
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
|
||||||
targetCompatibility = 1.7
|
|
||||||
}
|
}
|
||||||
|
|
||||||
forbiddenApisTest {
|
forbiddenApisTest {
|
||||||
|
@ -56,7 +55,6 @@ forbiddenApisTest {
|
||||||
bundledSignatures += 'jdk-internal'
|
bundledSignatures += 'jdk-internal'
|
||||||
//client does not depend on core, so only jdk signatures should be checked
|
//client does not depend on core, so only jdk signatures should be checked
|
||||||
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
|
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
|
||||||
targetCompatibility = 1.7
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//JarHell is part of es core, which we don't want to pull in
|
//JarHell is part of es core, which we don't want to pull in
|
||||||
|
|
Loading…
Reference in New Issue