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] 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}/" }