mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-18 10:23:58 +08:00
25 lines
595 B
Groovy
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}/"
|
|
}
|