From 70fb67cc7b1fd72b385b98bbf0eb425f7462bb83 Mon Sep 17 00:00:00 2001 From: javanna Date: Tue, 14 Jun 2016 23:16:38 +0200 Subject: [PATCH] Build: targetCompatibility and sourceCompatibility are enough to make sure we compile client and client-sniffer with target and source 1.7 --- client-sniffer/build.gradle | 3 --- client/build.gradle | 3 --- 2 files changed, 6 deletions(-) diff --git a/client-sniffer/build.gradle b/client-sniffer/build.gradle index 5b224168492..c01f730e094 100644 --- a/client-sniffer/build.gradle +++ b/client-sniffer/build.gradle @@ -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')] diff --git a/client/build.gradle b/client/build.gradle index 83c96d07d34..30225382e41 100644 --- a/client/build.gradle +++ b/client/build.gradle @@ -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')]