Build: remove explicit targetCompatibility from forbiddenapis config

targetCompatibility set to the project is enough.
This commit is contained in:
javanna 2016-06-15 11:43:48 +02:00 committed by Luca Cavanna
parent 70fb67cc7b
commit 7c8013f9fd
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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