added gui for server
This commit is contained in:
@@ -34,7 +34,7 @@ java {
|
||||
}
|
||||
|
||||
javafx {
|
||||
modules = ['javafx.graphics', 'javafx.controls', 'javafx.fxml' ]
|
||||
modules = [ 'javafx.graphics', 'javafx.controls', 'javafx.fxml' ]
|
||||
}
|
||||
|
||||
application {
|
||||
@@ -75,4 +75,11 @@ tasks.register("client", JavaExec) {
|
||||
mainClass.set("ChatAppClient")
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
standardInput = System.in
|
||||
}
|
||||
|
||||
tasks.register("serverGUI", JavaExec) {
|
||||
group = "ChatAppGUI"
|
||||
description = "Runs a GUI for the server"
|
||||
mainClass.set('server.ServerGUI')
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
}
|
||||
Reference in New Issue
Block a user