liberty-bikes/game-service/build.gradle
2018-10-15 10:54:03 -05:00

25 lines
595 B
Groovy

dependencies {
compileOnly group: 'javax.websocket', name: 'javax.websocket-api', version: '1.1'
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.0'
}
ext {
httpPort = 8080
httpsPort = 8443
}
liberty {
server {
name = 'game-service'
dropins = [war]
bootstrapProperties = ['httpPort': httpPort, 'httpsPort': httpsPort]
configDirectory = file('src/main/liberty/config')
jvmOptions = ['-Dorg.libertybikes.restclient.PlayerService/mp-rest/url=http://localhost:8081/']
}
}
libertyStart.doLast {
println "Application available at: http://localhost:${httpPort}/"
}