zyx 2 лет назад
Родитель
Сommit
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)