This repository was archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (54 loc) · 1.95 KB
/
build.gradle
File metadata and controls
63 lines (54 loc) · 1.95 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
plugins {
id 'org.springframework.boot' version '2.6.7'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'org.asciidoctor.convert' version '1.5.8'
id 'java'
}
group = 'com.codecheckin'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
set('snippetsDir', file("build/generated-snippets"))
set('springCloudVersion', "2021.0.1")
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client' // Eureka
implementation 'io.netty:netty-resolver-dns-native-macos:4.1.76.Final:osx-aarch_64' // netty for m1
implementation 'org.springframework.boot:spring-boot-starter-actuator' // Acturator 사용
implementation 'org.springframework.boot:spring-boot-starter-data-r2dbc' // r2dbc
implementation 'org.springframework.boot:spring-boot-starter-webflux' //webflux
compileOnly 'org.projectlombok:lombok' //lombok
annotationProcessor 'org.projectlombok:lombok' //lombok
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test' //Reactive
implementation 'dev.miku:r2dbc-mysql' //mysql-r2dbc
implementation 'mysql:mysql-connector-java' //mysql
implementation 'org.springframework.kafka:spring-kafka' //kafka
testImplementation 'org.springframework.kafka:spring-kafka-test' //kafka
implementation group: 'org.apache.kafka', name: 'kafka-clients', version: '3.1.0'
implementation group: 'com.auth0', name: 'java-jwt', version: '3.1.0' // jwt decode
}
tasks.named('test') {
outputs.dir snippetsDir
useJUnitPlatform()
}
tasks.named('asciidoctor') {
inputs.dir snippetsDir
dependsOn test
}
jar {
enabled = false
}