-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
54 lines (45 loc) · 1.26 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M2'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE'
}
}
plugins {
id "com.github.johnrengelman.shadow" version "1.2.3" apply false
// id "spring-boot" version "1.4.2.RELEASE" apply false
id "nebula.kotlin" version "1.1.0-M01-5" apply false
}
group "com.sumo.cloudnative"
subprojects {
apply plugin: 'application'
apply plugin: 'org.junit.platform.gradle.plugin'
apply plugin: 'spring-boot'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile "ch.qos.logback:logback-classic:$logbackVersion"
}
jar {
manifest {
attributes(
"Implementation-Version": version,
'Build-Time': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
)
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion"
}
}
}
wrapper {
gradleVersion = gradleWrapperVersion
}