mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-30 10:40:13 +08:00
22 lines
761 B
Groovy
22 lines
761 B
Groovy
ext {
|
|
httpPort = 8082
|
|
httpsPort = 8482
|
|
appUrl = "http://localhost:${httpPort}/openapi/ui"
|
|
}
|
|
|
|
liberty {
|
|
server {
|
|
name = 'auth-service'
|
|
dropins = [war]
|
|
bootstrapProperties = ['httpPort': httpPort, 'httpsPort': httpsPort]
|
|
configDirectory = file('src/main/liberty/config')
|
|
jvmOptions = ['-Dorg.libertybikes.auth.service.github.GitHubOAuthAPI/mp-rest/url=https://github.com',
|
|
'-Dorg.libertybikes.auth.service.github.GitHubUserAPI/mp-rest/url=https://api.github.com']
|
|
}
|
|
}
|
|
dependencies {
|
|
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.0'
|
|
compile group: 'com.google.api-client', name: 'google-api-client', version: '1.23.0'
|
|
compile group: 'org.twitter4j', name: 'twitter4j-core', version: '4.0.+'
|
|
}
|