-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle.kts
38 lines (29 loc) · 903 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.3.61"
id("com.github.johnrengelman.shadow") version "5.1.0"
}
group = "com.github.com.github.md"
version = "1.0"
repositories {
mavenCentral()
}
tasks.withType<ShadowJar> {
archiveBaseName.set("package")
manifest {
attributes(mapOf("Main-Class" to "com.github.md.ApplicationKt"))
}
}
dependencies {
compile(kotlin("stdlib-jdk8"))
compile(kotlin("reflect"))
compile("org.http4k:http4k-core:3.103.2")
compile("com.amazonaws:aws-lambda-java-core:1.2.0")
compile("com.fasterxml.jackson.core:jackson-databind:2.9.6")
compile("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.6")
testCompile("org.junit.jupiter:junit-jupiter-engine:5.3.2")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}