-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
73 lines (57 loc) · 2.23 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
buildscript {
ext {
springBootVersion = '2.7.6'
lombokVersion = '1.18.24'
}
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url 'https://packages.atlassian.com/maven-public/' }
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath 'gradle.plugin.com.ewerk.gradle.plugins:querydsl-plugin:1.0.10'
classpath 'org.flywaydb:flyway-mysql:8.5.12'
}
}
ext {
springdocVersion = '1.6.8'
}
ext.projectVersion = {
Properties versionProps = new Properties()
versionProps.load(new FileInputStream(file('version.properties')))
def (major, minor, patch) = [versionProps['VERSION_MAJOR'].toString(), versionProps['VERSION_MINOR'].toString(), versionProps['VERSION_PATCH'].toString()]
return "${major}.${minor}.${patch}"
}
subprojects {
group 'kr.co.mz'
version '1.0.0'
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'project-report'
apply plugin: 'groovy'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
project.version = projectVersion()
def javaVer = JavaVersion.VERSION_11
targetCompatibility = javaVer
sourceCompatibility = javaVer
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
maven { url 'https://packages.atlassian.com/maven-public/' }
}
dependencies {
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-devtools'
implementation 'org.projectlombok:lombok'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.apache.commons:commons-collections4:4.4'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testAnnotationProcessor 'org.projectlombok:lombok'
}
}