-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
65 lines (53 loc) · 1.99 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
plugins {
id 'maven-publish'
id 'io.github.gradle-nexus.publish-plugin' version '1.2.0'
id 'java-library'
id 'signing'
id 'jacoco'
}
apply plugin: 'jacoco'
apply from: "./gradle/publish.gradle"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withSourcesJar()
withJavadocJar()
}
group = 'com.github.kuliginstepan'
version = '2.0.1'
repositories {
mavenCentral()
}
dependencies {
api platform('org.springframework.boot:spring-boot-dependencies:3.0.4')
annotationProcessor platform('org.springframework.boot:spring-boot-dependencies:3.0.4')
testAnnotationProcessor platform('org.springframework.boot:spring-boot-starter-parent:3.0.4')
implementation 'org.springframework.boot:spring-boot-autoconfigure'
api 'io.projectreactor:reactor-core'
compileOnly 'org.springframework.data:spring-data-mongodb'
compileOnly 'org.springframework.boot:spring-boot-actuator-autoconfigure'
compileOnly 'org.mongodb:mongodb-driver-reactivestreams'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
testCompileOnly 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.testcontainers:junit-jupiter:1.17.6'
testImplementation 'org.testcontainers:mongodb:1.17.6'
testImplementation 'org.springframework.data:spring-data-mongodb'
testImplementation 'org.springframework.boot:spring-boot-starter-webflux'
testImplementation 'org.mongodb:mongodb-driver-reactivestreams'
testImplementation 'org.mongodb:mongodb-driver-sync'
testImplementation 'io.projectreactor:reactor-core'
}
test {
useJUnitPlatform()
}
jacocoTestReport {
reports {
xml.required = true
html.required = false
}
}
test.finalizedBy jacocoTestReport