Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ThomasJejkal
Copy link
Contributor

@ThomasJejkal ThomasJejkal commented Feb 10, 2025

Summary by CodeRabbit

  • Chores

    • Upgraded build tooling and many dependencies; enabled Java 17 compatibility; bumped Gradle version/wrapper and adjusted wrapper invocation; updated CI/CD and Docker workflow action versions; minor tooling/version tweaks.
  • Tests

    • Added an integration test to verify Prometheus actuator metrics and endpoint exposure.
  • Documentation

    • Fixed container URL formatting in the README.

renovate bot and others added 8 commits February 3, 2025 17:31
…-spring-boot-admin-starter-client-3.x

Update dependency de.codecentric:spring-boot-admin-starter-client to v3.4.2
…ven-publish-java-8.x

Update plugin io.freefair.maven-publish-java to v8.12.1
…ndencycheck-12.x

Update plugin org.owasp.dependencycheck to v12.0.2
…mbok-8.x

Update plugin io.freefair.lombok to v8.12.1
Copy link

coderabbitai bot commented Feb 10, 2025

Walkthrough

Upgrades Gradle, plugins, and many dependencies; sets Java source/target to 17; updates Gradle wrapper to 9.1.0 and changes wrapper scripts to use java -jar; refreshes GitHub Action pins; adds an integration test for the Prometheus actuator; minor README link fix.

Changes

Cohort / File(s) Change Summary
Build configuration
build.gradle
Upgraded core plugins (Spring Boot → 3.5.6, io.freefair.lombok/io.freefair.maven-publish-java → 9.0.0, org.owasp.dependencycheck → 12.1.6, org.asciidoctor.jvm.convert → 4.0.5, com.gorylenko.git-properties → 2.5.3); set java { sourceCompatibility = 17; targetCompatibility = 17 }; bumped ext props javersVersion 7.7.0 → 7.9.0 and springDocVersion 2.8.4 → 2.8.13; updated many dependency versions (spring-data-elasticsearch, spring-messaging, Spring Cloud modules, spring-boot-admin-client, service-base, nimbus-jose-jwt, postgresql, h2, spring-restdocs); Jacoco toolVersion 0.8.12 → 0.8.13.
Gradle wrapper distribution
gradle/wrapper/gradle-wrapper.properties
Updated distributionUrl from Gradle 8.12.1 → Gradle 9.1.0.
Wrapper scripts
gradlew, gradlew.bat
Changed invocation to java -jar $APP_HOME/gradle/wrapper/gradle-wrapper.jar; cleared prior CLASSPATH assignment referencing wrapper JAR; adjusted JVM options comment.
CI — Docker publish workflow
.github/workflows/docker-publish.yml
Updated action pins: actions/checkout@v4@v5; bumped docker/login-action, docker/metadata-action, and docker/build-push-action commit hashes. No step logic changes.
CI — other workflows
.github/workflows/codeql-analysis.yml, .github/workflows/gradle.yml
Replaced actions/checkout@v4@v5 and actions/setup-java@v4@v5 in gradle.yml. No control-flow changes.
Tests
src/test/java/.../ActuatorPrometheusTest.java
Added integration test ActuatorPrometheusTest with two tests: one asserting many actuator endpoints are not exposed (404) and one verifying /actuator/prometheus returns 200 and contains specific metrics.
Test config
src/test/resources/test-config/application-test.properties
Added management properties to expose endpoints and show health details (management.endpoints.web.exposure.include=*, management.endpoint.health.show-details=always).
Docs
README.md
Minor link fix: removed URL-encoded %2F in Docker container link path.

Sequence Diagram(s)

sequenceDiagram
    participant Dev as Developer / CI
    participant Wrapper as gradlew / gradlew.bat
    participant Java as java
    participant GradleJar as gradle/wrapper/gradle-wrapper.jar
    participant GradleDist as Gradle distribution

    Dev->>Wrapper: ./gradlew <task>
    Wrapper->>Java: exec "java -jar $APP_HOME/gradle/wrapper/gradle-wrapper.jar" <args>
    Java->>GradleJar: run jar (wrapper main)
    GradleJar->>GradleDist: download/bootstrap Gradle distribution (if needed)
    GradleDist->>Dev: execute requested build task / return status
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐇
I hopped through plugins, light and spry,
Jar now launched with a jaunty try,
Actions refreshed and wrappers anew,
Prometheus metrics peeked on cue,
A tiny hop for each green CI.

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title Check ❓ Inconclusive The title “PR for v1.5.9” merely references a version label without conveying the substantive changes such as dependency upgrades, Java 17 alignment, Gradle wrapper bump, CI workflow updates, and new integration tests, making it too generic to quickly inform reviewers of the primary content of the changeset. Consider renaming the pull request to clearly summarize the main changes, for example “Upgrade to Spring Boot 3.5.6, Java 17, and update dependencies with Gradle 9.1.0 wrapper and CI workflow versions.”
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch development

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

renovate bot and others added 21 commits February 13, 2025 16:50
…ework.data-spring-data-elasticsearch-5.x

Update dependency org.springframework.data:spring-data-elasticsearch to v5.4.3
…ework-spring-messaging-6.x

Update dependency org.springframework:spring-messaging to v6.2.3
…ndencycheck-12.x

Update plugin org.owasp.dependencycheck to v12.1.0
Update dependency org.javers:javers-core to v7.8.0
…ven-publish-java-8.x

Update plugin io.freefair.maven-publish-java to v8.12.2
…-spring-boot-admin-starter-client-3.x

Update dependency de.codecentric:spring-boot-admin-starter-client to v3.4.4
…ework.boot-3.x

Update plugin org.springframework.boot to v3.4.3
…ush-action-digest

Update docker/build-push-action digest to b16f42f
…mbok-8.x

Update plugin io.freefair.lombok to v8.12.2
renovate bot and others added 10 commits September 18, 2025 13:31
…ndencycheck-12.x

Update plugin org.owasp.dependencycheck to v12.1.5
…-postgresql-42.x

Update dependency org.postgresql:postgresql to v42.7.8
…ework.boot-3.x

Update plugin org.springframework.boot to v3.5.6
…-spring-boot-admin-starter-client-3.x

Update dependency de.codecentric:spring-boot-admin-starter-client to v3.5.5
Fixed source/targetCompatibility in build.gradle for Gradle 9.X
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/docker-publish.yml (1)

35-60: Pin actions/checkout to a commit SHA and validate Docker action SHAs

🧹 Nitpick comments (3)
build.gradle (3)

25-28: Prefer Gradle toolchains for JDK provisioning.
Switch to toolchains to ensure JDK 17 is provisioned consistently in CI and dev environments.

-java {
-    sourceCompatibility = JavaVersion.VERSION_17
-    targetCompatibility = JavaVersion.VERSION_17
-}
+java {
+    toolchain {
+        languageVersion = JavaLanguageVersion.of(17)
+    }
+}

64-73: Avoid overriding Spring‑managed dependency versions unless necessary.
Consider relying on Spring Boot/Cloud BOMs instead of pinning these versions to reduce drift (spring‑messaging, spring‑data‑elasticsearch, cloud starters, admin client).

If you want centralized control, import the Spring Cloud BOM and drop explicit versions:

dependencyManagement {
  imports {
    mavenBom "org.springframework.cloud:spring-cloud-dependencies:2024.0.3"
  }
}

Then:

-implementation 'org.springframework.data:spring-data-elasticsearch:5.5.4'
+implementation 'org.springframework.data:spring-data-elasticsearch'
-implementation "org.springframework:spring-messaging:6.2.11"
+implementation "org.springframework:spring-messaging"
-implementation "org.springframework.cloud:spring-cloud-starter-config:4.3.0"
+implementation "org.springframework.cloud:spring-cloud-starter-config"
-implementation "org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:4.3.0"
+implementation "org.springframework.cloud:spring-cloud-starter-netflix-eureka-client"
-implementation "org.springframework.cloud:spring-cloud-gateway-mvc:4.3.1"
+implementation "org.springframework.cloud:spring-cloud-gateway-mvc"
-implementation 'de.codecentric:spring-boot-admin-starter-client:3.5.5'
+implementation 'de.codecentric:spring-boot-admin-starter-client'

35-38: Remove or update stale springBootVersion property
build.gradle sets springBootVersion = "3.2.1" while the Spring Boot plugin is 3.5.6; no other references were found — remove the unused property or update it if you plan to use it.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b29ba70 and 7be3c84.

📒 Files selected for processing (6)
  • .github/workflows/codeql-analysis.yml (1 hunks)
  • .github/workflows/docker-publish.yml (2 hunks)
  • .github/workflows/gradle.yml (2 hunks)
  • README.md (1 hunks)
  • build.gradle (5 hunks)
  • gradle/wrapper/gradle-wrapper.properties (1 hunks)
✅ Files skipped from review due to trivial changes (3)
  • .github/workflows/codeql-analysis.yml
  • README.md
  • .github/workflows/gradle.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: Analyze (java)
  • GitHub Check: build (macOS-latest, 17)
  • GitHub Check: build (ubuntu-latest, 17)
  • GitHub Check: GitGuardian Security Checks
  • GitHub Check: build (macOS-latest, 17)
  • GitHub Check: build (ubuntu-latest, 17)
🔇 Additional comments (7)
build.gradle (6)

80-80: LGTM: service-base bump.
Version update looks fine.


86-86: LGTM: nimbus-jose-jwt 10.5.
Good upgrade; addresses prior CVEs in older series.

Please ensure transitive JWT/Jose usage remains compatible at runtime in auth flows.


101-101: LGTM: PostgreSQL driver 42.7.8.
Safe patch update.


105-105: LGTM: REST Docs 3.0.5.
Minor patch bump aligns with Spring 6.x.


153-153: LGTM: JaCoCo 0.8.13.
Latest stable; no known regressions.


2-9: Verify Gradle 9 compatibility for updated plugins

Short summary: Plugin Portal shows recent releases for all listed versions and they are likely Gradle 9–compatible, but run a full Gradle 9 build/CI and test plugin-specific tasks — especially net.researchgate.release and org.owasp.dependencycheck.

  • org.springframework.boot:3.5.6 — likely compatible (recent plugin release).
  • io.freefair.lombok:8.14.2 / io.freefair.maven-publish-java:8.14.2 — freefair 8.x targets modern Gradle; likely compatible.
  • org.owasp.dependencycheck:12.1.5 — recent, but can depend on underlying Java/OS tooling; test dependency‑check tasks in CI.
  • org.asciidoctor.jvm.convert:4.0.5 — recent; likely compatible.
  • com.gorylenko.gradle-git-properties:2.5.3 — likely compatible; confirm subversion if needed.
  • net.researchgate.release:3.1.0 — recent release; test release tasks under Gradle 9.

Action: run the full build on Gradle 9 in CI and consult each plugin’s release notes/issue tracker if any task fails.

gradle/wrapper/gradle-wrapper.properties (1)

3-3: Gradle 9.1 upgrade — verify plugin compatibility and wrapper JAR

  • gradle/wrapper/gradle-wrapper.properties now points to gradle-9.1.0; gradle/wrapper/gradle-wrapper.jar exists (43K, modified Sep 23) — ensure the JAR was generated by running gradle wrapper and committed.
  • Spring Boot 3.5.x added Gradle 9 support (so 3.5.6 is OK). Repo search did not surface explicit declarations for dependency-check (12.x), asciidoctor (4.x), researchgate-release (3.1.0) or git-properties (2.5.3) — confirm each plugin/version is Gradle 9 compatible before merging.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (7)
.github/workflows/docker-publish.yml (2)

16-22: Add top‑level concurrency to avoid overlapping image publishes on rapid pushes

Prevents racing pushes for the same ref.

 env:
   REGISTRY: ghcr.io
   IMAGE_NAME: ${{ github.repository }}
 
+concurrency:
+  group: docker-publish-${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 # Only one job for creating and pushing Docker image
 jobs:

59-65: Enable Buildx remote cache to speed up subsequent builds

Uses the GitHub Actions cache backend; safe and commonly used with build-push-action.

       - name: Build and push Docker image
         uses: docker/build-push-action@9e436ba9f2d7bcd1d038c8e55d039d37896ddc5d
         with:
           context: .
           push: true
           tags: ${{ steps.meta.outputs.tags }}
           labels: ${{ steps.meta.outputs.labels }}
+          cache-from: type=gha
+          cache-to: type=gha,mode=max
src/test/java/edu/kit/datamanager/repo/test/integration/ActuatorPrometheusTest.java (5)

78-80: Remove unused JUnitRestDocumentation Rule

The Rule is declared but not used; drop it to reduce noise.

-  @Rule
-  public JUnitRestDocumentation restDocumentation = new JUnitRestDocumentation();

68-74: Consolidate repeated @TestPropertySource annotations

Combine into a single annotation for readability and easier maintenance.

-@TestPropertySource(properties = {"spring.datasource.url=jdbc:h2:mem:db_prometheus;DB_CLOSE_DELAY=-1;MODE=LEGACY;NON_KEYWORDS=VALUE"})
-@TestPropertySource(properties = {"spring.jpa.database-platform=org.hibernate.dialect.H2Dialect"})
-@TestPropertySource(properties = {"spring.jpa.defer-datasource-initialization=true"})
-@TestPropertySource(properties = {"repo.monitoring.enabled=true"})
-@TestPropertySource(properties = {"repo.monitoring.serviceName=base_repo_test"})
-@TestPropertySource(properties = {"management.endpoints.web.exposure.include=prometheus"})
+@TestPropertySource(properties = {
+        "spring.datasource.url=jdbc:h2:mem:db_prometheus;DB_CLOSE_DELAY=-1;MODE=LEGACY;NON_KEYWORDS=VALUE",
+        "spring.jpa.database-platform=org.hibernate.dialect.H2Dialect",
+        "spring.jpa.defer-datasource-initialization=true",
+        "repo.monitoring.enabled=true",
+        "repo.monitoring.serviceName=base_repo_test",
+        "management.endpoints.web.exposure.include=prometheus"
+})

96-107: Trim .andDo(print()) to keep CI logs clean

Printing every request clutters logs and slows builds. Keep prints only when debugging failures.

-    this.mockMvc.perform(get("/actuator/beans")).andDo(print()).andExpect(status().isNotFound());
+    this.mockMvc.perform(get("/actuator/beans")).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/caches")).andDo(print()).andExpect(status().isNotFound());
+    this.mockMvc.perform(get("/actuator/caches")).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/conditions")).andDo(print()).andExpect(status().isNotFound());
+    this.mockMvc.perform(get("/actuator/conditions")).andExpect(status().isNotFound());
...apply similarly to the remaining endpoints...

110-116: Also assert Prometheus content type; drop print

Prometheus should respond with text/plain (OpenMetrics v0.0.4 exposition). Check compatibility to avoid parameter/charset brittleness.

+import org.springframework.http.MediaType;
@@
-    this.mockMvc.perform(get("/actuator/prometheus")).andDo(print()).andExpect(status().isOk())
+    this.mockMvc.perform(get("/actuator/prometheus")).andExpect(status().isOk())
+            .andExpect(content().contentTypeCompatibleWith(MediaType.TEXT_PLAIN))
             .andExpect(content().string(Matchers.containsString("# TYPE base_repo_test_requests_served_total")))
             .andExpect(content().string(Matchers.containsString("# TYPE base_repo_test_unique_users")))
             .andExpect(content().string(Matchers.containsString("# TYPE base_repo_test_registered_users")))
             .andReturn();

93-107: Reduce duplication by looping over non‑exposed endpoints

Keeps the test short and easier to extend.

-    // Check that all other endpoints are not exposed
-    this.mockMvc.perform(get("/actuator/beans")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/caches")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/conditions")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/configprops")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/env")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/loggers")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/heapdump")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/threaddump")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/metrics")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/scheduledtasks")).andDo(print()).andExpect(status().isNotFound());
-    this.mockMvc.perform(get("/actuator/mappings")).andDo(print()).andExpect(status().isNotFound());
+    for (String ep : new String[]{
+            "/actuator/beans", "/actuator/caches", "/actuator/conditions", "/actuator/configprops",
+            "/actuator/env", "/actuator/loggers", "/actuator/heapdump", "/actuator/threaddump",
+            "/actuator/metrics", "/actuator/scheduledtasks", "/actuator/mappings"}) {
+        this.mockMvc.perform(get(ep)).andExpect(status().isNotFound());
+    }
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7be3c84 and 65f039c.

📒 Files selected for processing (3)
  • .github/workflows/docker-publish.yml (2 hunks)
  • build.gradle (5 hunks)
  • src/test/java/edu/kit/datamanager/repo/test/integration/ActuatorPrometheusTest.java (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • build.gradle
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: build (ubuntu-latest, 17)
  • GitHub Check: Analyze (java)
  • GitHub Check: build (ubuntu-latest, 17)
🔇 Additional comments (1)
.github/workflows/docker-publish.yml (1)

35-35: Pin checkout action to a specific SHA and enable full fetch-depth

  • Replace actions/checkout@v5 with actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 to avoid supply-chain risks.
  • Add fetch-depth: 0 so docker/metadata-action can access full tag history.

Apply:

       - name: Checkout repository
-        uses: actions/checkout@v5
+        uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
+        with:
+          fetch-depth: 0

Comment on lines +56 to +61
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@EntityScan("edu.kit.datamanager")
@EnableJpaRepositories("edu.kit.datamanager")
@ComponentScan({"edu.kit.datamanager"})
@AutoConfigureMockMvc
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

JUnit 4 runner in a Spring Boot 3.x stack — confirm Vintage engine presence or plan Jupiter migration

You’re using JUnit 4 (SpringRunner, @before, @rule). Ensure the build includes junit-vintage-engine, or migrate tests to JUnit Jupiter to align with modern Spring Test support. Based on learnings.

Run to confirm dependencies and usage:


🏁 Script executed:

#!/bin/bash
# Find explicit JUnit dependencies and engines
rg -nP -C2 '(junit-?vintage|junit-?jupiter|org\.junit\.jupiter|org\.junit\.vintage|junit[:"]\s*4\.)' \
  -g '!**/build/**' -g '!**/out/**'

# Spot JUnit4 annotations in tests
rg -nP -C2 'org\.junit\.(Test|Before|Rule)|@RunWith\(SpringRunner\.class\)' src/test

Length of output: 10993


🏁 Script executed:

#!/bin/bash
# Search for JUnit dependencies in Maven pom.xml
rg -nP '<artifactId>junit' -C1 -g 'pom.xml'
rg -nP 'org\.junit\.vintage|org\.junit\.jupiter' -g 'pom.xml'

# If Gradle build script present, search for junit dependencies
rg -nP 'junit' -g 'build.gradle' -g 'build.gradle.kts'

Length of output: 358


Add JUnit Vintage engine or migrate tests to JUnit Jupiter
Your integration tests (e.g. using SpringRunner, @rule, @before) rely on JUnit 4, but build.gradle only declares testImplementation "junit:junit:4.13.2" (no vintage engine). Spring Boot 3.x uses JUnit Platform, so either add the Vintage engine:

testRuntimeOnly "org.junit.vintage:junit-vintage-engine"

or migrate your tests to JUnit Jupiter.

🤖 Prompt for AI Agents
In
src/test/java/edu/kit/datamanager/repo/test/integration/ActuatorPrometheusTest.java
around lines 56 to 61, the test class uses JUnit 4 constructs (SpringRunner,
@RunWith) but the build lacks the JUnit Vintage engine so tests will not run
under JUnit Platform; either add the Vintage engine to build.gradle as a test
runtime dependency (org.junit.vintage:junit-vintage-engine) so JUnit4 tests run
on the JUnit Platform, or migrate the test to JUnit Jupiter by replacing
@RunWith(SpringRunner.class) with @ExtendWith(SpringExtension.class) and
updating any @Before/@After/@Rule usages to their JUnit 5 equivalents.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
src/test/resources/test-config/application-test.properties (1)

38-39: Remove duplicate management property entries.

These two keys are already defined later in this file (Lines 57 and 59), so the later values override these additions. Please drop one set to avoid confusion.

- management.endpoints.web.exposure.include=*
- management.endpoint.health.show-details=always
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ab79696 and e6475bf.

📒 Files selected for processing (2)
  • build.gradle (5 hunks)
  • src/test/resources/test-config/application-test.properties (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: Analyze (java)
  • GitHub Check: build (macOS-latest, 17)
  • GitHub Check: build (ubuntu-latest, 17)
  • GitHub Check: build (macOS-latest, 17)
  • GitHub Check: build (ubuntu-latest, 17)
  • GitHub Check: GitGuardian Security Checks

Comment on lines +35 to +37
set('javersVersion', "7.9.0")
set('springBootVersion', "3.2.1")
set('springDocVersion', "2.8.4")
set('springDocVersion', "2.8.13")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Update springBootVersion property to match the plugin

The build now applies org.springframework.boot 3.5.6, but the springBootVersion property still advertises 3.2.1. Downstream modules or dependency management imports that consume this property will continue pulling the 3.2.x BOM, creating a version split from the Gradle plugin and the managed dependencies you just upgraded. Please bump the property to 3.5.6 (or remove it if truly unused) so all consumers stay aligned.

-    set('springBootVersion', "3.2.1")
+    set('springBootVersion', "3.5.6")
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
set('javersVersion', "7.9.0")
set('springBootVersion', "3.2.1")
set('springDocVersion', "2.8.4")
set('springDocVersion', "2.8.13")
set('javersVersion', "7.9.0")
set('springBootVersion', "3.5.6")
set('springDocVersion', "2.8.13")
🤖 Prompt for AI Agents
In build.gradle around lines 35 to 37, the springBootVersion property is set to
3.2.1 while the project applies org.springframework.boot plugin version 3.5.6,
causing a mismatch between the plugin and any consumers of the property; update
the property value to "3.5.6" (or remove the property if it is unused) so
dependency management and downstream modules use the same Spring Boot BOM as the
applied plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants