mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2024-11-21 00:51:27 +08:00
25 lines
826 B
Groovy
25 lines
826 B
Groovy
ext {
|
|
httpPort = 8082
|
|
httpsPort = 8482
|
|
appUrl = "http://${hostname}:${httpPort}/openapi/ui"
|
|
}
|
|
|
|
liberty {
|
|
server {
|
|
name = 'auth-service'
|
|
deploy.dropins = [war]
|
|
bootstrapProperties = ['httpPort': httpPort, 'httpsPort': httpsPort]
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.5'
|
|
implementation group: 'io.jsonwebtoken', name: 'jjwt-gson', version: '0.11.5'
|
|
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.5'
|
|
implementation group: 'com.google.api-client', name: 'google-api-client', version: '1.30.4'
|
|
implementation 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'
|