-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
40 lines (31 loc) · 837 Bytes
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
var kotlin_version: String by extra
kotlin_version = "1.2.50"
repositories {
mavenCentral()
}
dependencies {
classpath(kotlin("gradle-plugin", kotlin_version))
}
}
group = "com.github.kevinrob"
version = "0.1"
plugins {
`kotlin-dsl`
id("com.github.johnrengelman.shadow") version "2.0.4"
}
val kotlin_version: String by extra
repositories {
mavenCentral()
}
dependencies {
compile(kotlin("stdlib-jdk8", kotlin_version))
compile("com.amazonaws:aws-lambda-java-core:1.1.0")
compile("com.amazonaws:aws-lambda-java-events:2.1.0")
compile("org.json:json:20180130")
testCompile("org.junit.jupiter:junit-jupiter-api:5.0.0")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}