diff --git a/build.gradle b/build.gradle index 8886d46..e57f83d 100644 --- a/build.gradle +++ b/build.gradle @@ -65,14 +65,18 @@ task deploy(type: Jar) { baseName = project.name from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } with jar - - // Copy to base directory +} + +// Copy to base directory +task copyToRoot << { copy { from "build/libs/Luminescent.jar" into "/" } } +deploy.finalizedBy copyToRoot + task run(dependsOn:deploy) << { javaexec { main="-jar";