-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (53 loc) · 1.49 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
buildscript {
ext {
set('springBootV', "3.2.2")
set('springDepV', "1.1.4")
set('sonarqubeV', "3.5.0.2730")
set('spotBugsV', "6.0.7")
set('pitestV', "1.15.0")
set('pitestArcmutateV', "1.0.0")
set('archunitV', "1.2.1")
set('openfeignV', "4.1.0")
set('openapiV', "2.3.0")
set('ff4jV', "1.9")
set('jjwtapiV', "0.12.5")
set('lombookV', "8.6")
set('gsonV', "2.10.1")
set('h2V', "2.2.224")
set('mapStructV', "1.5.5.Final")
}
}
plugins {
id 'java'
id 'application'
id 'idea'
id 'jacoco'
id 'codenarc'
id 'checkstyle'
id 'pmd'
id 'io.freefair.lombok' version "${lombookV}"
id 'org.springframework.boot' version "${springBootV}"
id 'io.spring.dependency-management' version "${springDepV}"
id 'info.solidsoft.pitest' version "${pitestV}"
id 'org.sonarqube' version "${sonarqubeV}"
id 'com.github.spotbugs' version "${spotBugsV}"
}
apply from: 'gradle/dependency.gradle'
apply from: 'gradle/quality.gradle'
apply from: 'gradle/version.gradle'
apply from: 'gradle/test.gradle'
apply from: 'gradle/sources.gradle'
group = 'com.fabrik.api'
version = "${majorVer}.${minorVer}.${patchVer}"
repositories {
mavenCentral()
}
bootRun {
//This is required to accept -Dspring.profiles.active=<PROFILE> or another system property
systemProperties = System.properties
}
build {
doLast {
println "Build completed successfully JORGE!"
}
}