-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
96 lines (77 loc) ยท 2.7 KB
/
build.gradle
File metadata and controls
96 lines (77 loc) ยท 2.7 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
96
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.6'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.hositamtam'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
implementation 'se.michaelthelin.spotify:spotify-web-api-java:8.0.0'
implementation 'mysql:mysql-connector-java:8.0.23'
testImplementation 'org.projectlombok:lombok:1.18.28'// ์ ์ ํ ๋ฒ์ ์ฌ์ฉ
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
//swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
//querydsl
implementation "com.querydsl:querydsl-jpa:5.0.0:jakarta"
annotationProcessor "com.querydsl:querydsl-apt:5.0.0:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
//Cache
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'org.ehcache:ehcache:3.10.6'
// JSR-107
implementation 'javax.cache:cache-api:1.1.1'
// jaxb(binding xml to java beans)
implementation 'com.sun.xml.bind:jaxb-core:2.3.0.1'
implementation 'com.sun.xml.bind:jaxb-impl:2.3.1'
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'org.javassist:javassist:3.25.0-GA'
//Actuator
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// Spring AOP
implementation 'org.springframework.boot:spring-boot-starter-aop'
}
tasks.named('bootBuildImage') {
builder = 'paketobuildpacks/builder-jammy-base:latest'
}
tasks.named('test') {
useJUnitPlatform()
}
// Querydsl ์ค์ ๋ถ
def generated = 'src/main/generated'
// querydsl QClass ํ์ผ ์์ฑ ์์น๋ฅผ ์ง์
tasks.withType(JavaCompile) {
options.getGeneratedSourceOutputDirectory().set(file(generated))
}
// java source set ์ querydsl QClass ์์น ์ถ๊ฐ
sourceSets {
main.java.srcDirs += [ generated ]
}
// gradle clean ์์ QClass ๋๋ ํ ๋ฆฌ ์ญ์
clean {
delete file(generated)
}
//๋ฐฐํฌ์ -plain.jar ์์ฑ ์๋๊ฒ ํ๋ ์ฝ๋
jar.enabled = false