Browse Source

调整maven上传

xielq 3 years ago
parent
commit
56ae9bbe11
1 changed files with 2 additions and 3 deletions
  1. 2 3
      build.gradle

+ 2 - 3
build.gradle

@@ -83,10 +83,9 @@ subprojects { Project subproject ->
 
     publishing {
         publications {
-            // plugins(MavenPublication) {
-            mavenJava(MavenPublication) {
+            plugins(MavenPublication) {
                 from components.java
-                // artifact sourcesJar
+                artifact sourcesJar
             }
         }
         repositories {