mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-10-02 17:47:41 +02:00
Updated gradle file
This commit is contained in:
parent
24f0237820
commit
133f73dca7
10
build.gradle
10
build.gradle
@ -23,3 +23,13 @@ dependencies {
|
|||||||
compile group: 'com.google.code.gson', name: 'gson', version:'2.8.2'
|
compile group: 'com.google.code.gson', name: 'gson', version:'2.8.2'
|
||||||
compile group: 'com.google.inject', name: 'guice', version:'4.0'
|
compile group: 'com.google.inject', name: 'guice', version:'4.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Set SPIGOT_LOC to the location of your server and SPIGOT_JAR as the name of the jar file in the server you want to run
|
||||||
|
task runJar() << {
|
||||||
|
javaexec {
|
||||||
|
main="-jar"; args "${System.env.SPIGOT_LOC}\\${System.env.SPIGOT_JAR}.jar";
|
||||||
|
workingDir = "${System.env.SPIGOT_LOC}";
|
||||||
|
// classpath = "D:\\Servers\\Spigot 1.8\\"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user