zyx 2 rokov pred
rodič
commit
a4449ed7ae
1 zmenil súbory, kde vykonal 9 pridanie a 0 odobranie
  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)