zyx 2 năm trước cách đây
mục cha
commit
a4449ed7ae
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      build.gradle

+ 9 - 0
build.gradle

@@ -56,4 +56,13 @@ tasks.named('test') {
     useJUnitPlatform()
     useJUnitPlatform()
 }
 }
 
 
+task clearLibs(type: Delete) {
+     delete("${buildDir}/output/")
+}
+
+task copyRuntimeLibs(type: Copy) {
+    into "${buildDir}/output/libs"
+    from  configurations.compileClasspath
+}
 
 
+jar.dependsOn(clearLibs,copyRuntimeLibs)