mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Make run task depend on plugin scripts
This commit is contained in:
@@ -34,4 +34,13 @@ dependencies {
|
||||
compile group: 'org.jetbrains.kotlin', name: 'kotlin-compiler', version: "$kotlinVersion"
|
||||
|
||||
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion"
|
||||
}
|
||||
|
||||
task run(type: JavaExec, dependsOn: [classes, pluginClasses]) {
|
||||
FileCollection gameClasspath = sourceSets.main.runtimeClasspath + sourceSets.main.compileClasspath
|
||||
|
||||
main = 'org.apollo.Server'
|
||||
classpath = gameClasspath
|
||||
jvmArgs = ['-Xmx1750M']
|
||||
workingDir = "$rootDir"
|
||||
}
|
||||
Reference in New Issue
Block a user