-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
98 lines (80 loc) · 2.98 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 '3.0.0-RC1'
id 'io.spring.dependency-management' version '1.1.0'
id 'org.graalvm.buildtools.native' version '0.9.16'
id 'java'
id "com.diffplug.spotless" version "6.12.0"
}
group = 'com.github.devraghav.bugtracker'
version = '1.0.0'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url "https://packages.confluent.io/maven" }
}
dependencies {
implementation 'org.mapstruct:mapstruct:1.5.2.Final'
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive'
implementation 'com.github.devraghav.bugtracker:inmemory-eventbus:1.0.0'
// kafka
implementation ('io.confluent:kafka-avro-serializer:7.3.0') {
exclude (group: "jakarta.ws.rs", module: "jakarta.ws.rs-api")
exclude (group: "io.swagger.core.v3", module: "swagger-annotations")
}
implementation 'org.springframework.kafka:spring-kafka'
implementation 'io.projectreactor.kafka:reactor-kafka'
implementation 'com.github.devraghav.bugtracker:bug-tracker-schema:1.0.0'
implementation group: 'io.micrometer', name: 'micrometer-registry-prometheus', version: '1.10.2'
implementation 'org.projectlombok:lombok'
implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webflux-api' , version: '2.0.2'
implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webflux-ui' , version: '2.0.2'
implementation group: 'net.logstash.logback', name: 'logstash-logback-encoder', version: '7.2'
annotationProcessor group: 'org.projectlombok', name: 'lombok-mapstruct-binding', version: '0.2.0'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.2.Final'
annotationProcessor 'org.projectlombok:lombok'
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
}
compileJava {
options.compilerArgs += ["--enable-preview"]
}
compileTestJava {
options.compilerArgs += ["--enable-preview"]
}
compileAotJava {
options.compilerArgs += ["--enable-preview"]
}
compileAotTestJava {
options.compilerArgs += ["--enable-preview"]
}
processAot {
jvmArgs("--enable-preview")
}
processTestAot {
jvmArgs("--enable-preview")
}
tasks.withType(Test).all {
jvmArgs += '--enable-preview'
}
tasks.named('test') {
useJUnitPlatform()
}
spotless {
java {
toggleOffOn()
targetExclude('build/**')
googleJavaFormat()
}
}