-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (59 loc) · 1.75 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
apply plugin: 'java'
compileJava {
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8
}
jar {
manifest {
attributes 'Main-Class': 'Launcher',
'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': '1.8'
}
}
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.slf4j:slf4j-api:1.7.22'
compile 'org.slf4j:slf4j-simple:1.7.22'
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 'org.slf4j:slf4j-api:1.7.10'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'com.squareup.okhttp3:okhttp:3.5.0'
testCompile "io.damo.aspen:aspen:2.0.0"
testCompile "org.assertj:assertj-core:3.6.1"
testCompile "com.nhaarman:mockito-kotlin:1.0.1"
}
task fatJar(type: Jar) {
baseName = project.name + '-fat'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
sourceSets {
main {
resources.srcDir 'src/resources'
java.srcDir 'src'
}
test {
resources.srcDir 'test/resources'
java.srcDir 'test'
}
}
buildscript {
ext.kotlin_version = '1.0.6'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
build.dependsOn fatJar