forked from numberOnethemepark/themepark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
95 lines (95 loc) · 3.08 KB
/
build.gradle
File metadata and controls
95 lines (95 loc) · 3.08 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
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
85
86
87
88
89
90
91
92
93
94
95
//import org.springframework.boot.gradle.tasks.bundling.BootJar
//
//plugins {
// id 'java'
// id 'org.springframework.boot' version '3.4.3'
// id 'io.spring.dependency-management' version '1.1.7'
//}
//
//bootJar.enabled = false // 루트 프로젝트는 실행 가능한 JAR을 만들지 않음
//
//allprojects {
// group = 'com.business'
// version = '0.0.1-SNAPSHOT'
//
//
// tasks.withType(BootJar).configureEach {
// enabled = false
// }
//}
//
//subprojects {
// apply plugin: 'java'
// apply plugin: 'org.springframework.boot'
// apply plugin: 'io.spring.dependency-management'
//
// java {
// toolchain {
// languageVersion = JavaLanguageVersion.of(17)
// }
// }
//
// tasks.withType(Test).configureEach {
// useJUnitPlatform()
// }
//
// ext {
// set('springCloudVersion', "2024.0.0")
// set('querydslVersion', "5.0.0") // QueryDSL 버전 명시적으로 설정
// }
//
// dependencies { //루트 bulid.gradle 에 의존되면 안된다! 하나의 서비스로 존재해야함. 독립적이어야한다.
// //공통모듈 최소화해서 만들기
//
// //querydsl
// implementation "com.querydsl:querydsl-jpa:${querydslVersion}:jakarta"
// annotationProcessor "com.querydsl:querydsl-apt:${querydslVersion}:jakarta"
// annotationProcessor "jakarta.annotation:jakarta.annotation-api"
// annotationProcessor "jakarta.persistence:jakarta.persistence-api"
// // JWT
// implementation 'io.jsonwebtoken:jjwt:0.12.6'
// compileOnly group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.5'
// runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.5'
// runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.5'
// //feignClient
// implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
//
// //Web
// implementation 'org.springframework.boot:spring-boot-starter-web'
//
// implementation 'org.springframework.boot:spring-boot-starter'
// implementation 'org.springframework.boot:spring-boot-starter-actuator'
// compileOnly 'org.projectlombok:lombok'
// annotationProcessor 'org.projectlombok:lombok'
// testImplementation 'org.springframework.boot:spring-boot-starter-test'
// testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// }
//
// def querydslSrcDir = 'src/main/generated'
// clean {
// delete file(querydslSrcDir)
// }
//
// dependencyManagement {
// imports {
// mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
// }
// }
//
//
// // 서브모듈별로 `bootJar` 및 `jar` 설정을 다르게 적용
// afterEvaluate { project ->
// if (project.name == 'common') {
// bootJar.enabled = false
// jar.enabled = true
// } else {
// bootJar.enabled = true
// jar.enabled = false
// }
// }
//
// tasks.named('test') {
// useJUnitPlatform()
// }
//
//}