-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
98 lines (83 loc) · 3.18 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
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
97
98
plugins {
id "org.springframework.boot" version "2.6.4"
id "io.spring.dependency-management" version "1.0.11.RELEASE"
id 'nu.studer.jooq' version '6.0.1'
id "java"
}
group = "web-socket-chat"
version = "0.0.1-SNAPSHOT"
sourceCompatibility = "11"
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
// general development support library
commons_collection_version = "4.4"
commons_lang_version = "3.12.0"
springdoc_openapi_version = "1.6.6"
// mariadb connector
mariadb_connector_version = "3.0.4"
// embedded db
embedded_redisdb = "0.7.2"
}
dependencies {
// spring boot starter dependencies
implementation "org.springframework.boot:spring-boot-starter-aop"
implementation "org.springframework.boot:spring-boot-starter-data-redis"
implementation "org.springframework.boot:spring-boot-starter-jdbc"
implementation "org.springframework.boot:spring-boot-starter-jooq"
implementation "org.springframework.boot:spring-boot-starter-security"
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
implementation "org.springframework.boot:spring-boot-starter-validation"
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-websocket"
// general development support library dependencies
implementation "org.apache.commons:commons-lang3:$commons_lang_version"
implementation "org.apache.commons:commons-collections4:$commons_collection_version"
implementation "org.springdoc:springdoc-openapi-ui:$springdoc_openapi_version"
implementation "it.ozimov:embedded-redis:$embedded_redisdb"
implementation "org.mariadb.jdbc:mariadb-java-client:$mariadb_connector_version"
jooqGenerator "org.mariadb.jdbc:mariadb-java-client:$mariadb_connector_version"
compileOnly "org.projectlombok:lombok"
annotationProcessor "org.projectlombok:lombok"
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testCompileOnly "org.projectlombok:lombok"
testAnnotationProcessor "org.projectlombok:lombok"
}
jooq {
configurations {
main {
generationTool {
logging = org.jooq.meta.jaxb.Logging.ERROR
jdbc {
driver = 'org.mariadb.jdbc.Driver'
url = 'jdbc:mariadb://13.209.4.83:3306'
user = 'dlrtn'
password = 'jj5514'
}
generator {
strategy {
name = 'org.jooq.codegen.DefaultGeneratorStrategy'
}
database {
name = 'org.jooq.meta.mariadb.MariaDBDatabase'
includes = 'study_db.*'
excludes = ''
}
target {
packageName = 'com.dlrtn.websocket.chat.business.chat.model.domain.generated'
}
}
}
}
}
}
test {
useJUnitPlatform()
}