forked from be-fe-3rd-project/be-3rd-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
81 lines (58 loc) · 1.91 KB
/
build.gradle
File metadata and controls
81 lines (58 loc) · 1.91 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.4'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
// MySQL JDBC Driver
// implementation 'com.mysql:mysql-connector-j:8.3.0'
//websocket
implementation 'org.springframework.boot:spring-boot-starter-websocket'
// MariaDB JDBC Driver
implementation 'org.mariadb.jdbc:mariadb-java-client:2.7.2'
// https://mvnrepository.com/artifact/org.json/json
implementation group: 'org.json', name: 'json', version: '20230227'
//lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// devtools 재실행 할 필요없이 코드 수정하면 바로 반영됨
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// JWT
implementation 'io.jsonwebtoken:jjwt:0.9.1'
// Swagger/OpenAPI
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
// JAXB for Java 11+
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'org.glassfish.jaxb:jaxb-runtime:2.3.1'
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.named('bootJar'){
mainClass = 'com.example.be3rdproject.Be3rdProjectApplication'
}
tasks.withType(JavaCompile) {
options.compilerArgs << "-parameters"
}
compileJava {
options.compilerArgs += ['-parameters']
sourceCompatibility = 17 // 또는 필요한 자바 버전
targetCompatibility = 17 // 또는 필요한 자바 버전
}