2020-04-15 01:18:46 +03:00
|
|
|
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}"
|
|
|
|
}
|
2020-04-03 02:05:42 +03:00
|
|
|
}
|
|
|
|
|
2020-04-15 01:18:46 +03:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
maven { url 'https://repo.spring.io/milestone' }
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 02:05:42 +03:00
|
|
|
|
|
|
|
subprojects {
|
|
|
|
project.ext {
|
|
|
|
camelVersion = '3.1.0'
|
2020-04-03 16:51:54 +03:00
|
|
|
springBootVersion = '2.2.6.RELEASE'
|
|
|
|
springBootDependenciesVersion = '2.2.6.RELEASE'
|
2020-04-03 02:05:42 +03:00
|
|
|
fasterxmlJacksonVersion = '2.10.0'
|
|
|
|
apacheCommonsCollectionsVersion = '4.4'
|
|
|
|
apacheCommonsLangVersion = '3.9'
|
2020-04-19 02:40:57 +03:00
|
|
|
jsoupVersion = '1.13.1'
|
|
|
|
flywaydbVersion = '6.3.3'
|
2020-04-03 02:05:42 +03:00
|
|
|
}
|
|
|
|
|
2020-04-03 16:51:54 +03:00
|
|
|
group = 'com.bvn13.covid19'
|
2020-05-04 14:02:54 +03:00
|
|
|
version = '0.1.2'
|
2020-04-03 16:51:54 +03:00
|
|
|
|
2020-04-03 02:05:42 +03:00
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'idea'
|
2020-04-03 17:03:47 +03:00
|
|
|
apply plugin: 'org.springframework.boot'
|
2020-04-03 02:05:42 +03:00
|
|
|
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}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-03 16:51:54 +03:00
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = 'UTF-8'
|
|
|
|
}
|
|
|
|
|
2020-04-03 02:05:42 +03:00
|
|
|
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')
|