-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
30 lines (26 loc) · 1.02 KB
/
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
26
27
28
29
30
ant.propertyfile(file: "$projectDir/src/main/resources/conf/config.properties") {
entry(key: "slack.client.id", value: System.getenv('SLACKNORRIS_CLIENT_ID'))
entry(key: "slack.client.secret", value: System.getenv('SLACKNORRIS_CLIENT_SECRET'))
entry(key: "slack.origin.token", value: System.getenv('SLACKNORRIS_ORIGIN_TOKEN'))
entry(key: "email.server", value: System.getenv('SLACKNORRIS_EMAIL_SERVER'))
entry(key: "email.port", value: System.getenv('SLACKNORRIS_EMAIL_PORT'))
entry(key: "email.username", value: System.getenv('SLACKNORRIS_EMAIL_USERNAME'))
entry(key: "email.password", value: System.getenv('SLACKNORRIS_EMAIL_PASSWORD'))
}
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
compile 'com.amazonaws:aws-lambda-java-core:1.1.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.5.3'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.sun.mail:javax.mail:1.5.3'
}
jar {
from {
(configurations.runtime).collect {
it.isDirectory() ? it : zipTree(it)
}
}
}