Skip to content

Upgrade libraries to work with Java 17#11

Merged
eagletmt merged 2 commits into
cookpad:masterfrom
eagletmt:upgrade-libs-for-java17
Apr 27, 2026
Merged

Upgrade libraries to work with Java 17#11
eagletmt merged 2 commits into
cookpad:masterfrom
eagletmt:upgrade-libs-for-java17

Conversation

@eagletmt
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates build/test tooling and key dependencies to support compiling and running the project on Java 17.

Changes:

  • Upgrade Spring Boot Gradle plugin + dependency management plugin to Spring Boot 2.7.18 in service modules.
  • Upgrade test/tooling dependencies (JUnit 5.8.2, Mockito 4.11.0, SpotBugs Gradle plugin 5.2.5) and adjust configuration accordingly.
  • Update Mockito test API usage (verifyZeroInteractionsverifyNoInteractions) and extend SpotBugs exclude filter.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
build.gradle Upgrades SpotBugs plugin and test dependencies; updates SpotBugs report configuration API for the newer plugin.
spotbugs-exclude.xml Adds new SpotBugs suppression rules (EI/EI2, CT).
stream/build.gradle Upgrades Spring Boot + Jackson JSR310 module; updates test autoconfigure dependency version.
merge/build.gradle Upgrades Spring Boot + dependency management plugin versions.
batch/build.gradle Upgrades Spring Boot + dependency management plugin versions.
stream/src/test/java/com/cookpad/prism/stream/events/StagingObjectDispatcherTest.java Updates Mockito verification call to the modern API.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread stream/build.gradle
Comment on lines +9 to +14
implementation group: 'org.springframework.boot', name: 'spring-boot-starter', version: '2.7.18'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-logging', version: '2.7.18'
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.14.2'
implementation group: 'io.sentry', name: 'sentry-logback', version: '1.7.30'
implementation group: 'org.postgresql', name: 'postgresql', version: '42.2.5'
testImplementation group: 'org.springframework.boot', name: 'spring-boot-test-autoconfigure', version: '2.1.3.RELEASE'
testImplementation group: 'org.springframework.boot', name: 'spring-boot-test-autoconfigure', version: '2.7.18'
Comment thread spotbugs-exclude.xml
Comment on lines +8 to +13
<Match>
<Bug code="EI,EI2" />
</Match>
<Match>
<Bug code="CT" />
</Match>
@eagletmt eagletmt merged commit bcf3873 into cookpad:master Apr 27, 2026
1 check passed
@eagletmt eagletmt deleted the upgrade-libs-for-java17 branch April 27, 2026 08:12
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.

2 participants