zyx %!s(int64=2) %!d(string=hai) anos
pai
achega
a4449ed7ae
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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)