Merge branch 'chore/gradle-client-run-shortcut' into 'main'
Chore: Add client run task to gradle See merge request cs108-fs26/Gruppe-13!14
This commit was merged in pull request #170.
This commit is contained in:
@@ -48,6 +48,12 @@ tasks.named('jar', Jar) {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register('cruntest', JavaExec) {
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
mainClass = 'ch.unibas.dmi.dbis.cs108.casono.Main'
|
||||
jvmArgs '--enable-native-access=ALL-UNNAMED'
|
||||
args 'client', '0.0.0.0:1234'
|
||||
}
|
||||
|
||||
tasks.register('fatJar', Jar) {
|
||||
group = 'build'
|
||||
|
||||
Reference in New Issue
Block a user