This repository has been archived by the owner on Nov 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
60 lines (52 loc) · 2.09 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
58
59
60
buildscript {
ext {
springBootVersion = '1.5.4.RELEASE'
kotlinVersion = '1.2.70'
cfClientVersion = '2.15.0.RELEASE'
reactorVersion = '3.0.7.RELEASE'
reactorNettyVersion = '0.6.3.RELEASE'
mockitoKotlinVersion = '1.5.0'
jsr310Version = '2.8.9'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
version = "${version}"
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
compile("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
compile("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
compile('org.springframework.boot:spring-boot-starter-web')
//compile('org.springframework.boot:spring-boot-actuator')
compile("org.springframework.boot:spring-boot-starter-actuator")
compile("org.springframework.boot:spring-boot-starter-security")
compile("org.cloudfoundry:cloudfoundry-client-reactor:$cfClientVersion")
compile("org.cloudfoundry:cloudfoundry-operations:$cfClientVersion")
compile("io.projectreactor:reactor-core:$reactorVersion")
compile("io.projectreactor.ipc:reactor-netty:$reactorNettyVersion")
compile("com.fasterxml.jackson.module:jackson-module-parameter-names:$jsr310Version")
compile("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$jsr310Version")
compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jsr310Version")
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile("io.projectreactor.addons:reactor-test:$reactorVersion")
testCompile("com.nhaarman:mockito-kotlin-kt1.1:$mockitoKotlinVersion")
}
defaultTasks 'clean', 'test'