-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathbuild.gradle
42 lines (31 loc) · 1.14 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
buildscript {
ext.kotlin_version = '1.1.2'
repositories {
mavenCentral()
}
dependencies {
classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: "$kotlin_version"
}
}
group 'de.techdev.alexa.soundcloud'
version '1.0.1-SNAPSHOT'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jre8', version: "$kotlin_version"
compile group: 'com.amazon.alexa', name: 'alexa-skills-kit', version: '1.3.0'
compile group: 'com.amazonaws', name: 'aws-lambda-java-core', version: '1.1.0'
runtime group: 'com.amazonaws', name: 'aws-lambda-java-log4j', version: '1.0.0'
compile group: 'com.amazonaws', name: 'aws-java-sdk-dynamodb', version: '1.11.125'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.7.0'
}
task fatJar(type: Jar) {
baseName = project.name + '-fat'
from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
build.dependsOn fatJar