-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (42 loc) · 1.2 KB
/
build.gradle
File metadata and controls
51 lines (42 loc) · 1.2 KB
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
plugins {
id "org.springframework.boot" version "3.3.2" apply false
id "io.spring.dependency-management" version "1.1.6" apply false
}
ext {
springBootVersion = "3.3.2"
springCloudVersion = "2023.0.3"
}
subprojects {
group = "com.checkmate"
version = "0.0.1-SNAPSHOT"
apply plugin: "java"
apply plugin: "io.spring.dependency-management"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17) // SDK: ms-17, 언어수준 17
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
}
tasks.withType(Test).configureEach {
useJUnitPlatform()
systemProperty "eureka.client.enabled", "false"
systemProperty "eureka.client.register-with-eureka", "false"
systemProperty "eureka.client.fetch-registry", "false"
systemProperty "spring.cloud.discovery.enabled", "false"
}
tasks.named('test') { enabled = false }
// 공통 BOM: 모듈에서는 버전 없이 의존성 선언
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
}