File tree Expand file tree Collapse file tree 7 files changed +55
-22
lines changed
spring-annotated-data-binder-core
spring-webflux-annotated-data-binder
spring-webmvc-annotated-data-binder Expand file tree Collapse file tree 7 files changed +55
-22
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ subprojects {
4747// sourceCompatibility = 1.8
4848
4949 dependencies {
50+ implementation(platform(" org.springframework:spring-framework-bom:$springVersion " ))
5051 implementation(platform(" org.springframework:spring-framework-bom:$springVersion " ))
5152 implementation(platform(" javax.servlet:javax.servlet-api:3.1.0" ))
5253 implementation(platform(" com.google.code.findbugs:jsr305:3.0.2" ))
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ dependencies {
1111 implementation(" org.glassfish:javax.el:3.0.1-b09" )
1212 implementation(" com.fasterxml.jackson.core:jackson-databind:2.11.2" )
1313
14- testImplementation(" org.junit.jupiter:junit-jupiter-api " )
14+ testImplementation(libs.junitJupiterApi )
1515 testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine" )
16- testImplementation(" org.assertj:assertj-core " )
17- testImplementation(" org.springframework:spring-test " )
16+ testImplementation(libs.assertJCore )
17+ testImplementation(libs.springTest )
1818 testCompileOnly(" org.hamcrest:hamcrest" ) // Version defined in Spring BOM file
1919}
2020
Original file line number Diff line number Diff line change 1+ [versions ]
2+ spring = " 5.3.13"
3+ springBoot = " 2.4.13"
4+ junit = " 5.6.1"
5+
6+ [libraries ]
7+ springFrameworkBom = { module = " org.springframework:spring-framework-bom" , version.ref = " spring" }
8+
9+ springBeans = { module = " org.springframework:spring-beans" , version.ref = " spring" }
10+ springContext = { module = " org.springframework:spring-context" , version.ref = " spring" }
11+ springTest = { module = " org.springframework:spring-test" , version.ref = " spring" }
12+ springWeb = { module = " org.springframework:spring-web" , version.ref = " spring" }
13+ springWebflux = { module = " org.springframework:spring-webflux" , version.ref = " spring" }
14+ springWebmvc = { module = " org.springframework:spring-webmvc" , version.ref = " spring" }
15+
16+ springBootStarter = { module = " org.springframework.boot:spring-boot-starter" , version.ref = " springBoot" }
17+ springBootTest = { module = " org.springframework.boot:spring-boot-test" , version.ref = " springBoot" }
18+
19+ junitBom = { module = " org.junit:junit-bom" , version.ref = " junit" }
20+ junitJupiterApi = { module = " org.junit.jupiter:junit-jupiter-api" , version.ref = " junit" }
21+ assertJCore = { module = " org.assertj:assertj-core" , version = " 3.15.0" }
22+ mockitoCore = { module = " org.mockito:mockito-core" , version = " 3.3.3" }
23+ equalsVerifier = { module = " nl.jqno.equalsverifier:equalsverifier" , version = " 3.10" }
Original file line number Diff line number Diff line change 11rootProject.name = " spring-annotated-web-data-binder"
2+
3+ dependencyResolutionManagement {
4+ versionCatalogs {
5+ register(" libs" ) {
6+ from(files(" libs.versions.toml" ))
7+ }
8+ }
9+ }
10+
211include(" spring-annotated-data-binder-core" )
312include(" spring-webmvc-annotated-data-binder" )
413include(" spring-webflux-annotated-data-binder" )
Original file line number Diff line number Diff line change @@ -4,18 +4,18 @@ plugins {
44}
55
66dependencies {
7- api(" org.springframework:spring-context " )
8- api(" org.springframework:spring-beans " )
9- api(" org.springframework:spring-web " )
7+ api(libs.springContext )
8+ api(libs.springBeans )
9+ api(libs.springWeb )
1010 compileOnly(" com.google.code.findbugs:jsr305" )
1111 compileOnly(" javax.servlet:javax.servlet-api" ) // So Javadoc doesn't give warnings about missing links
1212
13- testImplementation(" org.junit.jupiter:junit-jupiter-api " )
14- testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine" )
15- testImplementation(" org.assertj:assertj-core " )
16- testImplementation(" org.mockito:mockito-core " )
17- testImplementation(" org.springframework:spring-test " )
18- testImplementation(" nl.jqno.equalsverifier:equalsverifier " )
13+ testImplementation(libs.junitJupiterApi )
14+ // testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
15+ testImplementation(libs.assertJCore )
16+ testImplementation(libs.mockitoCore )
17+ testImplementation(libs.springTest )
18+ testImplementation(libs.equalsVerifier )
1919}
2020
2121tasks.jar {
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ plugins {
55
66dependencies {
77 api(project(" :spring-annotated-data-binder-core" ))
8- api(" org.springframework:spring-webflux " )
8+ api(libs.springWebflux )
99 compileOnly(" com.google.code.findbugs:jsr305" )
1010
11- testImplementation(" org.junit.jupiter:junit-jupiter-api " )
11+ testImplementation(libs.junitJupiterApi )
1212 testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine" )
13- testImplementation(" org.assertj:assertj-core " )
14- testImplementation(" org.mockito:mockito-core " )
15- testImplementation(" org.springframework:spring-test " )
13+ testImplementation(libs.assertJCore )
14+ testImplementation(libs.mockitoCore )
15+ testImplementation(libs.springTest )
1616 testCompileOnly(" com.google.code.findbugs:jsr305" )
1717 testImplementation(" javax.validation:validation-api:2.0.1.Final" )
1818}
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ plugins {
55
66dependencies {
77 api(project(" :spring-annotated-data-binder-core" ))
8- api(" org.springframework:spring-webmvc " )
8+ api(libs.springWebmvc )
99 implementation(" javax.servlet:javax.servlet-api" )
1010 compileOnly(" com.google.code.findbugs:jsr305" )
1111
12- testImplementation(" org.junit.jupiter:junit-jupiter-api " )
12+ testImplementation(libs.junitJupiterApi )
1313 testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine" )
14- testImplementation(" org.assertj:assertj-core " )
15- testImplementation(" org.mockito:mockito-core " )
16- testImplementation(" org.springframework:spring-test " )
14+ testImplementation(libs.assertJCore )
15+ testImplementation(libs.mockitoCore )
16+ testImplementation(libs.springTest )
1717 testImplementation(" javax.validation:validation-api:2.0.1.Final" )
1818 testCompileOnly(" com.google.code.findbugs:jsr305" )
1919}
You can’t perform that action at this time.
0 commit comments