Fix transitive dependency to mongodb-driver-sync
This commit is contained in:
@@ -2,6 +2,7 @@ version=4.0.1-SNAPSHOT
|
||||
springBootVersion=3.5.0-SNAPSHOT
|
||||
|
||||
jakartaPersistenceVersion=3.1.0
|
||||
mongoDriverSyncVersion=5.5.0
|
||||
kryoVersion=4.0.3
|
||||
eclipseEmfXmiVersion=2.11.1
|
||||
eclipseUml2CommonVersion=2.0.0-v20140602-0749
|
||||
|
||||
@@ -16,10 +16,13 @@ dependencies {
|
||||
optional 'io.micrometer:micrometer-core'
|
||||
optional 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
optional 'org.springframework.boot:spring-boot-starter-data-redis'
|
||||
optional 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
||||
optional('org.springframework.boot:spring-boot-starter-data-mongodb') {
|
||||
exclude group: 'org.mongodb', module: 'mongodb-driver-sync'
|
||||
}
|
||||
testImplementation 'org.springframework.boot:spring-boot-test'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-engine'
|
||||
testImplementation 'org.junit.platform:junit-platform-launcher'
|
||||
testImplementation 'org.assertj:assertj-core'
|
||||
testRuntimeOnly 'com.h2database:h2'
|
||||
testRuntimeOnly 'org.mongodb:mongodb-driver-sync'
|
||||
}
|
||||
|
||||
@@ -14,9 +14,12 @@ dependencies {
|
||||
testImplementation(testFixtures(project(":spring-statemachine-core")))
|
||||
testImplementation 'io.projectreactor:reactor-test'
|
||||
testImplementation 'org.apache.commons:commons-pool2'
|
||||
testRuntimeOnly 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
||||
testRuntimeOnly('org.springframework.boot:spring-boot-starter-data-mongodb') {
|
||||
exclude group: 'org.mongodb', module: 'mongodb-driver-sync'
|
||||
}
|
||||
testRuntimeOnly 'org.springframework.boot:spring-boot-starter-data-redis'
|
||||
testRuntimeOnly 'redis.clients:jedis'
|
||||
testRuntimeOnly 'org.mongodb:mongodb-driver-sync'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-engine'
|
||||
testImplementation 'org.junit.platform:junit-platform-launcher'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
|
||||
@@ -16,6 +16,9 @@ dependencies {
|
||||
testImplementation 'org.springframework.boot:spring-boot-test-autoconfigure'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-engine'
|
||||
testImplementation 'org.junit.platform:junit-platform-launcher'
|
||||
testRuntimeOnly 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
||||
testRuntimeOnly('org.springframework.boot:spring-boot-starter-data-mongodb') {
|
||||
exclude group: 'org.mongodb', module: 'mongodb-driver-sync'
|
||||
}
|
||||
testRuntimeOnly 'org.mongodb:mongodb-driver-sync'
|
||||
testRuntimeOnly 'org.springframework.boot:spring-boot-starter-web'
|
||||
}
|
||||
|
||||
@@ -23,5 +23,6 @@ dependencies {
|
||||
api "org.awaitility:awaitility:$awaitilityVersion"
|
||||
api "io.projectreactor.tools:blockhound:$reactorBlockHoundVersion"
|
||||
api "io.projectreactor.tools:blockhound-junit-platform:$reactorBlockHoundVersion"
|
||||
api "org.mongodb:mongodb-driver-sync:$mongoDriverSyncVersion"
|
||||
}
|
||||
}
|
||||
@@ -24,5 +24,6 @@ dependencies {
|
||||
api "org.apache.curator:curator-test:$curatorVersion"
|
||||
api "io.projectreactor.tools:blockhound:$reactorBlockHoundVersion"
|
||||
api "io.projectreactor.tools:blockhound-junit-platform:$reactorBlockHoundVersion"
|
||||
api "org.mongodb:mongodb-driver-sync:$mongoDriverSyncVersion"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -230,6 +230,9 @@ project('spring-statemachine-samples-datapersist') {
|
||||
api('org.springframework.boot:spring-boot-starter-data-jpa')
|
||||
api('org.springframework.boot:spring-boot-starter-data-redis')
|
||||
api('org.springframework.boot:spring-boot-starter-data-mongodb')
|
||||
api('org.springframework.boot:spring-boot-starter-data-mongodb') {
|
||||
exclude group: 'org.mongodb', module: 'mongodb-driver-sync'
|
||||
}
|
||||
api('org.springframework.boot:spring-boot-devtools')
|
||||
api('com.h2database:h2')
|
||||
testImplementation(testFixtures(project(":spring-statemachine-core")))
|
||||
|
||||
@@ -15,7 +15,10 @@ dependencies {
|
||||
implementation('org.springframework.boot:spring-boot-starter-thymeleaf')
|
||||
implementation('org.springframework.boot:spring-boot-starter-data-jpa')
|
||||
implementation('org.springframework.boot:spring-boot-starter-data-redis')
|
||||
implementation('org.springframework.boot:spring-boot-starter-data-mongodb')
|
||||
implementation('org.springframework.boot:spring-boot-starter-data-mongodb') {
|
||||
exclude group: 'org.mongodb', module: 'mongodb-driver-sync'
|
||||
}
|
||||
testRuntimeOnly 'org.mongodb:mongodb-driver-sync'
|
||||
implementation('org.springframework.boot:spring-boot-devtools')
|
||||
implementation('com.h2database:h2')
|
||||
testImplementation(testFixtures(project(':spring-statemachine-core')))
|
||||
|
||||
Reference in New Issue
Block a user