-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
59 lines (46 loc) · 1.07 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
plugins {
id 'java'
}
group = 'com.whoz_in'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
subprojects { // 모든 하위 모듈들에 이 설정을 적용합니다.
group 'com.whoz_in'
version '0.0.1-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'java-library'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies { // 모든 하위 모듈에 추가 될 의존성 목록
// for Spring DI
compileOnly 'org.springframework:spring-context:6.1.13'
//lombok
compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
testImplementation 'com.tngtech.archunit:archunit-junit5:1.3.0'
}
test {
useJUnitPlatform()
}
}
tasks.named('test') {
useJUnitPlatform()
}