Clean up plugin script compilation

This commit is contained in:
Gary Tierney
2017-06-01 23:09:24 +01:00
parent 42fdaee8b8
commit 7ecc2e3158
2 changed files with 6 additions and 9 deletions
+2 -4
View File
@@ -36,11 +36,9 @@ dependencies {
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion"
}
task run(type: JavaExec, dependsOn: [classes, pluginClasses]) {
FileCollection gameClasspath = sourceSets.main.runtimeClasspath + sourceSets.main.compileClasspath
task run(type: JavaExec, dependsOn: classes) {
main = 'org.apollo.Server'
classpath = gameClasspath
classpath = sourceSets.main.runtimeClasspath
jvmArgs = ['-Xmx1750M']
workingDir = "$rootDir"
}