Selaa lähdekoodia

common.gradle: fix for issue #1370 (test classes added to javadoc JARs)

Stephen Gold 4 vuotta sitten
vanhempi
commit
8c534b9f0e
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      common.gradle

+ 1 - 0
common.gradle

@@ -69,6 +69,7 @@ javadoc {
     if (JavaVersion.current().isJava8Compatible()){
         options.addStringOption('Xdoclint:none', '-quiet')
     }
+    source = sourceSets.main.allJava // main only, exclude tests
 }
 
 test {