-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
77 lines (66 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
buildscript {
ext {
springBootVersion = '1.5.9.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("io.spring.gradle:dependency-management-plugin:1.0.3.RELEASE")
}
}
allprojects {
repositories {
jcenter()
mavenLocal()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url "http://repo1.maven.org/maven2/" }
maven { url 'https://repo.spring.io/libs-snapshot' }
}
}
subprojects {
buildscript {
ext { springBootVersion = '1.5.9.RELEASE' }
ext { swordfishCommonVersion = 'ea338fcd3c' }
ext { springCloudDependanceVersion = '1.2.2.RELEASE' }
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: 'jacoco'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'space.swordfish'
version = '1.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
springCloudVersion = 'Edgware.RELEASE'
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-actuator')
compile('org.projectlombok:lombok')
compile("com.github.peavers:swordfish-common:${swordfishCommonVersion}")
}
dependencyManagement {
imports {
mavenBom 'software.amazon.awssdk:bom:2.0.0-preview-1'
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
mavenBom "org.springframework.cloud:spring-cloud-aws:${springCloudDependanceVersion}"
}
}
task codeCoverageReport(type: JacocoReport) {
executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec")
subprojects.each {
sourceSets it.sourceSets.main
}
reports {
xml.enabled true
xml.destination "${buildDir}/reports/jacoco/report.xml"
html.enabled false
csv.enabled false
}
}
}