-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
52 lines (41 loc) · 1.14 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
plugins {
id 'java-library'
id 'org.springframework.boot' version '3.1.2'
id 'io.spring.dependency-management' version '1.1.2'
// jib
id 'com.google.cloud.tools.jib' version '3.3.2' apply false
}
ext {
projectGroup = project.findProperty("projectGroup")
buildVersion = project.findProperty("applicationVersion")
dockerUsername = project.findProperty("DOCKER_USERNAME")
dockerPassword = project.findProperty("DOCKER_PASSWORD")
}
allprojects {
group = projectGroup
version = buildVersion
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: "java-library"
apply plugin: "org.springframework.boot"
apply plugin: "io.spring.dependency-management"
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
// lombok 설정
compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
}
bootJar.enabled = false
jar.enabled = false