Browse Source

add kotlin source code to task sourcesJar

pancheng 5 năm trước cách đây
mục cha
commit
838a2339ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      build.gradle

+ 1 - 1
build.gradle

@@ -163,7 +163,7 @@ subprojects {
     //noinspection GroovyAssignabilityCheck
     task sourcesJar(type: Jar) {
         archiveClassifier = 'sources'
-        from sourceSets.main.allJava
+        from sourceSets.main.allSource
     }
 
     javadoc {