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:
+6
-10
@@ -44,14 +44,10 @@ subprojects {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def gameSubproject = project(':game')
|
||||
|
||||
task(run, dependsOn: gameSubproject.tasks['assemble'], type: JavaExec) {
|
||||
def gameClasspath = gameSubproject.sourceSets.main.runtimeClasspath
|
||||
|
||||
main = 'org.apollo.Server'
|
||||
classpath = gameClasspath
|
||||
jvmArgs = ['-Xmx1750M']
|
||||
|
||||
test {
|
||||
testLogging {
|
||||
events "passed", "skipped", "failed"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user