-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
57 lines (49 loc) · 1.36 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
buildscript {
ext.kotlinVersion = "1.1.2"
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "io.spring.gradle:dependency-management-plugin:1.0.0.RC2"
}
}
apply plugin: 'kotlin'
apply plugin: "io.spring.dependency-management"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
jar {
baseName = "dynamodb-utils"
archivesBaseName = "dynamodb-utils"
manifest {
attributes("Implementation-Title": "Collection of dynamodb utility functions", "Implementation-Version": "0.0.2")
}
//(fat jar).
into("lib") {
from configurations.runtime
}
}
dependencyManagement {
imports {
mavenBom 'com.amazonaws:aws-java-sdk-bom:1.11.363'
}
}
dependencies {
compile (
"org.jetbrains.kotlin:kotlin-stdlib-jre8",
"com.amazonaws:aws-java-sdk-dynamodb",
"com.amazonaws:aws-java-sdk-lambda",
"com.amazonaws:aws-java-sdk-applicationautoscaling",
"io.reactivex.rxjava2:rxkotlin:2.2.0"
)
testCompile (
"junit:junit:4.11",
"org.jetbrains.kotlin:kotlin-test:$kotlinVersion",
"org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion",
"io.mockk:mockk:1.8.4"
)
}