mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-24 10:34:03 +08:00
20 lines
374 B
Groovy
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}/"
|
|
} |