From fd9e88d37275ee450086e3e97426a91969cc2c10 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 27 Jul 2016 13:44:44 +0200 Subject: [PATCH] Skip Animal Sniffer for the time being (since it chokes on JDK 9 bytecode) --- build.gradle | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 8cd712982c..4f67917383 100644 --- a/build.gradle +++ b/build.gradle @@ -201,14 +201,13 @@ configure(allprojects) { project -> classpath: configurations.sniffer.asPath ) - ant.animalSniffer( - signature: "$buildDir/javaApiSignature/javaApi.signature", - classpath: sourceSets.main.compileClasspath.asPath) { - path(path: sourceSets.main.output.classesDir) - annotation(className: "org.springframework.lang.UsesJava7") - annotation(className: "org.springframework.lang.UsesJava8") - annotation(className: "org.springframework.lang.UsesSunHttpServer") - } + // TODO: Animal Sniffer currently chokes on optional JDK 9 bytecode in AspectJ 1.9 beta 5 + // ant.animalSniffer( + // signature: "$buildDir/javaApiSignature/javaApi.signature", + // classpath: sourceSets.main.compileClasspath.asPath) { + // path(path: sourceSets.main.output.classesDir) + // annotation(className: "org.springframework.lang.UsesSunHttpServer") + // } } }