2
0
Эх сурвалжийг харах

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

Stephen Gold 4 жил өмнө
parent
commit
8c534b9f0e
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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 {