-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
67 lines (61 loc) · 1.66 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
buildscript {
ext {
versions = [
springBoot : "2.2.2.RELEASE",
dependencyManagement: "1.0.8.RELEASE",
bintrayRelease : "0.9.2",
junit : "5.5.2",
mockito : "3.2.4",
assertJ : "3.14.0",
ogmCore : "3.2.4",
neo4jEmbedded : "3.2.8",
boltNativeTypes : "3.2.5",
slf4j : "1.7.29",
lombok : "1.18.10",
mapstruct : "1.3.1.Final",
h2 : "1.4.200"
]
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${versions.springBoot}"
classpath "io.spring.gradle:dependency-management-plugin:${versions.dependencyManagement}"
}
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
}
apply plugin: 'idea'
apply plugin: 'java'
idea {
project {
//if you want to set specific jdk and language level
jdkName = JavaVersion.VERSION_1_8
languageLevel = JavaVersion.VERSION_1_8
}
module {
downloadJavadoc = true
downloadSources = true
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
jacoco {
toolVersion = '0.8.5'
}
}
subprojects {
tasks.withType(Test) {
useJUnitPlatform()
}
jacocoTestReport {
reports {
html.enabled = true
xml.enabled = true
csv.enabled = false
}
}
}