Make run task depend on plugin scripts

This commit is contained in:
Gary Tierney
2017-06-01 22:47:50 +01:00
parent eed32efcf9
commit 42fdaee8b8
3 changed files with 41 additions and 25 deletions
+6 -10
View File
@@ -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"
}
}
}