-
Notifications
You must be signed in to change notification settings - Fork 43
/
build.gradle.kts
69 lines (57 loc) · 1.85 KB
/
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
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val kotlinVersion = "1.2.21"
id("org.jetbrains.kotlin.jvm") version kotlinVersion
id("org.jetbrains.kotlin.plugin.spring") version kotlinVersion
id("io.spring.dependency-management") version "1.0.4.RELEASE"
}
buildscript {
val kotlinVersion = "1.2.21"
repositories {
mavenCentral()
maven("https://repo.spring.io/milestone")
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
classpath("org.jetbrains.kotlin:kotlin-allopen:${kotlinVersion}")
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RC1")
}
}
apply {
plugin("org.springframework.boot")
}
tasks {
withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjsr305=strict")
}
}
}
repositories {
mavenCentral()
maven("https://repo.spring.io/milestone")
maven("https://dl.bintray.com/kotlin/exposed")
maven("https://dl.bintray.com/sdeleuze/maven/")
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web") {
exclude(module = "spring-boot-starter-validation")
}
compile("org.springframework.boot:spring-boot-starter-jdbc")
compile("org.springframework.boot:spring-boot-devtools")
compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
compile("org.jetbrains.kotlin:kotlin-reflect")
compile("com.fasterxml.jackson.module:jackson-module-kotlin")
compile("org.jetbrains.exposed:exposed:0.8")
compile("org.jetbrains.exposed:spring-transaction:0.8")
compile("org.postgresql:postgresql:9.4.1208")
compile("net.postgis:postgis-jdbc:2.2.0") {
exclude(module = "postgresql")
}
compile("com.github.mayconbordin:postgis-geojson:1.1") {
exclude(module = "postgresql")
}
testCompile("org.springframework.boot:spring-boot-starter-test")
testCompile("org.springframework.restdocs:spring-restdocs-mockmvc:1.1.1.RELEASE")
}