From fd7acb45dcf5463ca644bb3e92fbe5b49a77f201 Mon Sep 17 00:00:00 2001 From: jhonatapers Date: Mon, 25 Aug 2025 11:18:02 -0300 Subject: [PATCH 1/6] refactor: remove Guava dependency from build files and update JUnit version --- application/build.gradle | 1 - domain/build.gradle | 3 +-- gradle/libs.versions.toml | 12 ------------ infrastructure/build.gradle | 2 -- 4 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 gradle/libs.versions.toml diff --git a/application/build.gradle b/application/build.gradle index db1d4fe5..bb8ab405 100644 --- a/application/build.gradle +++ b/application/build.gradle @@ -17,7 +17,6 @@ dependencies { testImplementation 'org.mockito:mockito-junit-jupiter:5.15.2' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' - implementation libs.guava } java { diff --git a/domain/build.gradle b/domain/build.gradle index 2fe4511b..418db58f 100644 --- a/domain/build.gradle +++ b/domain/build.gradle @@ -10,11 +10,10 @@ repositories { } dependencies { - testImplementation libs.junit.jupiter + testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' - implementation libs.guava } java { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml deleted file mode 100644 index 8f20ed0b..00000000 --- a/gradle/libs.versions.toml +++ /dev/null @@ -1,12 +0,0 @@ -# This file was generated by the Gradle 'init' task. -# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format - -[versions] -commons-math3 = "3.6.1" -guava = "33.0.0-jre" -junit-jupiter = "5.10.2" - -[libraries] -commons-math3 = { module = "org.apache.commons:commons-math3", version.ref = "commons-math3" } -guava = { module = "com.google.guava:guava", version.ref = "guava" } -junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit-jupiter" } diff --git a/infrastructure/build.gradle b/infrastructure/build.gradle index ebd9c95d..7c9d9c5d 100644 --- a/infrastructure/build.gradle +++ b/infrastructure/build.gradle @@ -45,8 +45,6 @@ dependencies { // testImplementation 'com.h2database:h2:2.3.232' implementation 'com.h2database:h2:2.3.232' - implementation libs.guava - implementation 'org.springframework:spring-aop' implementation 'org.springframework.boot:spring-boot-starter-log4j2' From 11641d293659db878623d2db2b5cda4f0e5fe80f Mon Sep 17 00:00:00 2001 From: jhonatapers Date: Mon, 25 Aug 2025 11:44:54 -0300 Subject: [PATCH 2/6] refactor: update JUnit and Mockito versions across build files --- application/build.gradle | 4 ++-- domain/build.gradle | 2 +- infrastructure/build.gradle | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/build.gradle b/application/build.gradle index bb8ab405..601801a5 100644 --- a/application/build.gradle +++ b/application/build.gradle @@ -13,8 +13,8 @@ dependencies { implementation(project(":domain")) - testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4' - testImplementation 'org.mockito:mockito-junit-jupiter:5.15.2' + testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4' + testImplementation 'org.mockito:mockito-junit-jupiter:5.19.0' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } diff --git a/domain/build.gradle b/domain/build.gradle index 418db58f..fe967bc4 100644 --- a/domain/build.gradle +++ b/domain/build.gradle @@ -11,7 +11,7 @@ repositories { dependencies { - testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4' + testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } diff --git a/infrastructure/build.gradle b/infrastructure/build.gradle index 7c9d9c5d..935c7af0 100644 --- a/infrastructure/build.gradle +++ b/infrastructure/build.gradle @@ -38,8 +38,8 @@ dependencies { testImplementation 'org.springframework.boot:spring-boot-starter-test' - testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4' - testImplementation 'org.mockito:mockito-junit-jupiter:5.15.2' + testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4' + testImplementation 'org.mockito:mockito-junit-jupiter:5.19.0' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' // testImplementation 'com.h2database:h2:2.3.232' From 19e5390b91f07756a4e67db727816bb3f8c77d3d Mon Sep 17 00:00:00 2001 From: jhonatapers Date: Mon, 25 Aug 2025 11:45:44 -0300 Subject: [PATCH 3/6] chore: update dependencies to latest versions --- infrastructure/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/build.gradle b/infrastructure/build.gradle index 935c7af0..8c7a4c12 100644 --- a/infrastructure/build.gradle +++ b/infrastructure/build.gradle @@ -27,14 +27,14 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-amqp' implementation 'org.springframework.boot:spring-boot-starter-data-jpa' - implementation 'org.postgresql:postgresql:42.7.5' + implementation 'org.postgresql:postgresql:42.7.7' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server' - implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.1' + implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.11' - implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2' + implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.19.2' testImplementation 'org.springframework.boot:spring-boot-starter-test' From 94fc7d7194035f7ca22ef6e218538ff3d66104b2 Mon Sep 17 00:00:00 2001 From: jhonatapers Date: Mon, 25 Aug 2025 11:45:56 -0300 Subject: [PATCH 4/6] chore: remove H2 database dependency from build.gradle --- infrastructure/build.gradle | 3 --- 1 file changed, 3 deletions(-) diff --git a/infrastructure/build.gradle b/infrastructure/build.gradle index 8c7a4c12..d51c56ac 100644 --- a/infrastructure/build.gradle +++ b/infrastructure/build.gradle @@ -42,9 +42,6 @@ dependencies { testImplementation 'org.mockito:mockito-junit-jupiter:5.19.0' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' - // testImplementation 'com.h2database:h2:2.3.232' - implementation 'com.h2database:h2:2.3.232' - implementation 'org.springframework:spring-aop' implementation 'org.springframework.boot:spring-boot-starter-log4j2' From ee3a6d10ea31c958369dc2095d408031d1ba996b Mon Sep 17 00:00:00 2001 From: jhonatapers Date: Mon, 25 Aug 2025 12:01:07 -0300 Subject: [PATCH 5/6] chore: remove unused spring-aop dependency from build.gradle --- infrastructure/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/infrastructure/build.gradle b/infrastructure/build.gradle index d51c56ac..222aa944 100644 --- a/infrastructure/build.gradle +++ b/infrastructure/build.gradle @@ -42,7 +42,6 @@ dependencies { testImplementation 'org.mockito:mockito-junit-jupiter:5.19.0' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' - implementation 'org.springframework:spring-aop' implementation 'org.springframework.boot:spring-boot-starter-log4j2' } From 03f223b41750759bbd8c1e0e30eda0aa357b3adc Mon Sep 17 00:00:00 2001 From: jhonatapers Date: Mon, 25 Aug 2025 12:01:52 -0300 Subject: [PATCH 6/6] chore: update JUnit and Mockito versions in build.gradle --- aop/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aop/build.gradle b/aop/build.gradle index 2bf2e09c..f6f3cb45 100644 --- a/aop/build.gradle +++ b/aop/build.gradle @@ -13,8 +13,8 @@ dependencies { implementation 'org.aspectj:aspectjrt:1.9.24' - testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4' - testImplementation 'org.mockito:mockito-junit-jupiter:5.15.2' + testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4' + testImplementation 'org.mockito:mockito-junit-jupiter:5.19.0' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' }