-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (37 loc) · 1.27 KB
/
Copy pathbuild.gradle
File metadata and controls
47 lines (37 loc) · 1.27 KB
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
buildscript {
repositories { mavenCentral() }
dependencies { classpath "org.jetbrains.kotlin:kotlin-allopen:1.1.2-2" }
}
plugins {
id 'java'
id 'idea'
id 'eclipse'
id 'org.jetbrains.kotlin.jvm' version '1.1.2-2'
id 'org.springframework.boot' version '1.5.3.RELEASE'
}
version '0.0.1'
group 'daggerok'
bootRepackage { enabled = false }
subprojects {
apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: 'kotlin-spring'
apply plugin: 'org.springframework.boot'
sourceCompatibility = JavaVersion.VERSION_1_8
compileKotlin { kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 }
compileTestKotlin { kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 }
repositories { mavenCentral() }
ext { kotlinVersion = '1.1.2-2' }
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-eureka',
"org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlinVersion",
"org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot { executable = true }
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Dalston.RELEASE'
}
}
}