-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
95 lines (75 loc) · 2.47 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
buildscript {
ext {
springBootVersion = '2.2.6.RELEASE'
springBootDependenciesVersion = '1.0.8.RELEASE'
}
repositories {
maven { url 'https://repo.spring.io/milestone' }
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "io.spring.gradle:dependency-management-plugin:${springBootDependenciesVersion}"
}
}
allprojects {
repositories {
maven { url 'https://repo.spring.io/milestone' }
mavenCentral()
}
}
subprojects {
project.ext {
camelVersion = '3.1.0'
springBootVersion = '2.2.6.RELEASE'
springBootDependenciesVersion = '2.2.6.RELEASE'
fasterxmlJacksonVersion = '2.10.0'
apacheCommonsCollectionsVersion = '4.4'
apacheCommonsLangVersion = '3.9'
jsoupVersion = '1.13.1'
flywaydbVersion = '6.3.3'
}
group = 'com.bvn13.covid19'
version = '0.1.2'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url 'https://repo.spring.io/milestone' }
mavenCentral()
}
dependencyManagement {
imports {
mavenBom("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
annotationProcessor 'org.projectlombok:lombok'
compileOnly 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
// https://mvnrepository.com/artifact/org.apache.commons/commons-collections4
implementation "org.apache.commons:commons-collections4:${apacheCommonsCollectionsVersion}"
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation "org.apache.commons:commons-lang3:${apacheCommonsLangVersion}"
}
test {
useJUnitPlatform()
testLogging {
events 'started', 'passed', 'failed', 'skipped', 'standard_out', 'standard_error'
}
}
}
defaultTasks('clean', 'compileTestJava', 'jar')