From adb935db795070e96a703fe8bb3f579f5a26df9e Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Mon, 4 Jul 2016 23:59:00 +0200 Subject: [PATCH] Restore special spring-aspects javadoc treatment --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index e2e1bef8e0..2481d7fe1f 100644 --- a/build.gradle +++ b/build.gradle @@ -1113,6 +1113,14 @@ configure(rootProject) { maxMemory = "1024m" destinationDir = new File(buildDir, "api") + + doFirst { + classpath = files( + // ensure the javadoc process can resolve types compiled from .aj sources + project(":spring-aspects").sourceSets.main.output + ) + classpath += files(subprojects.collect { it.sourceSets.main.compileClasspath }) + } } task docsZip(type: Zip, dependsOn: 'reference') {