liberty-bikes/auth-service/build.gradle
2023-08-08 17:21:09 +01:00

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'