-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
40 lines (34 loc) · 922 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
group 'com.example.lambda'
version '1.0.0-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile group: 'com.amazonaws', name: 'aws-lambda-java-core', version: '1.1.0'
compile group: 'com.amazonaws', name: 'aws-lambda-java-events', version: '1.3.0'
compile group: 'com.amazonaws', name: 'aws-lambda-java-log4j', version: '1.0.0'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
shadowJar {
baseName = project.rootProject.name
classifier = null
artifacts {
shadow(tasks.shadowJar.archivePath) {
builtBy shadowJar
}
}
}
build.dependsOn(shadowJar);