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

+ 9 - 0
build.gradle

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