-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (38 loc) · 1.32 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
apply plugin: 'java'
group = "alexa-skills-kit-samples"
version = '1.0'
compileJava {
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8
}
jar {
manifest {
attributes 'Main-Class': 'Launcher',
'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': version
}
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile 'com.amazon.alexa:alexa-skills-kit:1.1.2'
compile 'com.amazonaws:aws-lambda-java-core:1.0.0'
compile 'com.amazonaws:aws-java-sdk-dynamodb:1.9.40'
compile 'org.apache.commons:commons-lang3:3.3.2'
compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
compile 'org.eclipse.jetty:jetty-server:9.0.6.v20130930'
compile 'org.eclipse.jetty:jetty-servlet:9.0.6.v20130930'
compile group: 'com.google.guava', name: 'guava', version: '19.0'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.mashape.unirest:unirest-java:1.4.9'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.6.1'
}
task fatJar(type: Jar) {
baseName = project.name + '-fat'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
build.dependsOn fatJar