-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (70 loc) · 1.67 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
buildscript {
ext {
springBootVersion = '2.7.5'
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "io.spring.gradle:dependency-management-plugin:1.0.15.RELEASE"
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'kr.chuyong'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 17
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
implementation 'io.projectreactor:reactor-core'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
bootJar { enabled = false }
jar { enabled = true }
test {
useJUnitPlatform()
}
}
project(':use-case') {
dependencies {
api project(':entity')
}
}
project(':infrastructure') {
dependencies {
api project(':use-case')
api 'org.springframework.boot:spring-boot-starter-data-jpa'
runtimeOnly 'com.mysql:mysql-connector-j'
}
}
project(':presenter') {
dependencies {
api project(':use-case')
api 'org.springframework.boot:spring-boot-starter-webflux'
}
}
project(':config') {
bootJar { enabled = true }
jar { enabled = true }
dependencies {
api project(':entity')
api project(':use-case')
api project(':presenter')
api project(':infrastructure')
api 'org.springframework.boot:spring-boot-starter-webflux'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
}