-
Notifications
You must be signed in to change notification settings - Fork 38
/
build.gradle
25 lines (22 loc) · 913 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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')
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.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'