liberty-bikes/game-service/build.gradle

20 lines
374 B
Groovy

dependencies {
compileOnly group: 'javax.websocket', name: 'javax.websocket-api', version: '1.1'
}
ext {
httpPort = 8080
httpsPort = 8443
}
liberty {
server {
name = 'game-service'
dropins = [war]
bootstrapProperties = ['httpPort': httpPort, 'httpsPort': httpsPort]
}
}
libertyStart.doLast {
println "Application available at: http://localhost:${httpPort}/"
}