mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-02-05 10:49:42 +08:00
24 lines
690 B
Groovy
24 lines
690 B
Groovy
ext {
|
|
httpPort = 8082
|
|
httpsPort = 8482
|
|
appUrl = "http://${hostname}:${httpPort}/openapi/ui"
|
|
}
|
|
|
|
liberty {
|
|
server {
|
|
name = 'auth-service'
|
|
dropins = [war]
|
|
bootstrapProperties = ['httpPort': httpPort, 'httpsPort': httpsPort]
|
|
configDirectory = file('src/main/liberty/config')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.1'
|
|
compile group: 'com.google.api-client', name: 'google-api-client', version: '1.30.4'
|
|
compile group: 'org.twitter4j', name: 'twitter4j-core', version: '4.0.7'
|
|
}
|
|
|
|
// The installLiberty task doesn't work when run in parallel with other installLiberty tasks
|
|
installLiberty.mustRunAfter ':frontend:installLiberty'
|