Skip to content

Fix build for Adventure 5 and bump dependencies#142

Open
Jakubk15 wants to merge 1 commit into
masterfrom
fix/build-and-deps
Open

Fix build for Adventure 5 and bump dependencies#142
Jakubk15 wants to merge 1 commit into
masterfrom
fix/build-and-deps

Conversation

@Jakubk15

Copy link
Copy Markdown
Member

What

Fixes the broken ./gradlew build and applies the pending Renovate dependency bumps.

Why the build was broken

The Adventure 5 upgrade removed Audience#sendMessage(Identity, Component, MessageType), but AudienceMock (in multification-core tests) still @Override-d that now-nonexistent signature and imported the deleted MessageType/Identity types. This failed :multification-core:compileTestJava.

The mock now overrides the surviving sendMessage(Component) overload — which is exactly what production calls in ChatResolver — so it still captures messages correctly.

Dependency bumps (from open PRs)

Dependency From → To Renovate PR
Adventure API 5.0.1 → 5.1.1 #137
JUnit 6.0.3 → 6.1.0 #138
Gradle wrapper 9.5.0 → 9.6.0 #140
actions/checkout v6 → v7 #139
gradle/actions/setup-gradle v5 → v6 #132

Deliberately left out

Verification

./gradlew clean build is BUILD SUCCESSFUL on Gradle 9.6.0 — all modules compile and multification-core tests run.

Note: ./gradlew build --rerun-tasks shows inconsistent inter-module compile races (a pre-existing quirk of the custom src/ source-set layout under parallel execution), unrelated to these changes. The canonical build/clean build commands pass.

🤖 Generated with Claude Code

The Adventure 5 upgrade removed Audience#sendMessage(Identity, Component,
MessageType), which broke multification-core test compilation. Override the
remaining sendMessage(Component) overload in AudienceMock instead.

Apply the pending Renovate dependency bumps:
- Adventure API 5.0.1 -> 5.1.1 (#137)
- JUnit 6.0.3 -> 6.1.0 (#138)
- Gradle wrapper 9.5.0 -> 9.6.0 (#140)
- actions/checkout v6 -> v7 (#139)
- gradle/actions/setup-gradle v5 -> v6 (#132)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ErZ6cWq2LVW35c7JA8S13C
@Jakubk15 Jakubk15 requested a review from a team as a code owner June 19, 2026 18:31

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates dependency versions in Versions.kt (Adventure API to 5.1.1 and JUnit Jupiter to 6.1.0) and upgrades the Gradle wrapper to version 9.6.0. Additionally, it refactors AudienceMock.java by removing unused imports and updating the sendMessage method signature to match the simplified interface. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

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.

1 participant