MaxKey 4 년 전
부모
커밋
caecc4b0e0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      build.gradle

+ 2 - 2
build.gradle

@@ -382,14 +382,14 @@ subprojects {
 	    }
 	}
 	
-	task copyjar2Release(type: Copy) {
+	task copyjar2Release(type: Copy,dependsOn:['build','jar'] ) {
 		println "$buildDir/libs/ to $rootDir/build/maxkey-jars/"
 		into "$rootDir/build/maxkey-jars/"
 	    from "$buildDir/libs/"
 	    include '*.jar'
 	}
 
-	task buildRelease(dependsOn:['build','jar'])  {
+	task buildRelease(dependsOn:['copyjar2Release'])  {
 		//项目名 项目所在的group version 版本号
 		println  "project " + project.name + ", group " + project.group +" , version " + project.version
 	}