Browse Source

Update build.gradle

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

+ 6 - 1
build.gradle

@@ -346,6 +346,11 @@ subprojects {
 	    include '*.jar'
 	}
 	
+	task copyDepJars(type: Copy){
+		from configurations.runtime
+		into "$rootDir/build/depjars"
+	}
+	
 	task copydemoWar2Release(type: Copy) {
 		into "$rootDir/build/demowar/"
 	    from "$buildDir/libs/"
@@ -363,7 +368,7 @@ subprojects {
 	    from "$buildDir/libs/"
 	}
 
-	task buildRelease(dependsOn:['build','jar','copyjar2Release'])  {
+	task buildRelease(dependsOn:['build','jar','copyjar2Release','copyDepJars'])  {
 	   println 'Build MaxKey '+project.name +' complete .'
 	}
 }