diff --git a/gradle/distributableGhidraModule.gradle b/gradle/distributableGhidraModule.gradle index 5a7ab5ffef..fe1a1f1962 100644 --- a/gradle/distributableGhidraModule.gradle +++ b/gradle/distributableGhidraModule.gradle @@ -176,8 +176,6 @@ String getGlobalFilePathSubDirName(File file) { plugins.withType(JavaPlugin) { - // build up a java classpath for javadocs - rootProject.ghidraPath.from(sourceSets.main.compileClasspath) rootProject.assembleSource { from (this.project.zipSourceSubproject) { diff --git a/gradle/support/distributionCommon.gradle b/gradle/support/distributionCommon.gradle index 0356418ab9..39627a490e 100644 --- a/gradle/support/distributionCommon.gradle +++ b/gradle/support/distributionCommon.gradle @@ -21,6 +21,10 @@ tasks.withType(Test).all { } plugins.withType(JavaPlugin) { + + // build up a java classpath for javadocs + rootProject.ghidraPath.from(sourceSets.main.compileClasspath) + task zipSourceSubproject (type: Zip) { t -> // Define some metadata about the zip (name, location, version, etc....)