We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b49107 commit fb963e3Copy full SHA for fb963e3
build.gradle
@@ -65,14 +65,18 @@ task deploy(type: Jar) {
65
baseName = project.name
66
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
67
with jar
68
-
69
- // Copy to base directory
+}
+
70
+// Copy to base directory
71
+task copyToRoot << {
72
copy {
73
from "build/libs/Luminescent.jar"
74
into "/"
75
}
76
77
78
+deploy.finalizedBy copyToRoot
79
80
task run(dependsOn:deploy) << {
81
javaexec {
82
main="-jar";
0 commit comments