Skip to content

EVM-1: add web3j dependencies to Gradle build#161

Merged
Puneethkumarck merged 2 commits intomainfrom
feature/EVM-1-add-web3j-dependencies
Apr 12, 2026
Merged

EVM-1: add web3j dependencies to Gradle build#161
Puneethkumarck merged 2 commits intomainfrom
feature/EVM-1-add-web3j-dependencies

Conversation

@Puneethkumarck
Copy link
Copy Markdown
Owner

@Puneethkumarck Puneethkumarck commented Apr 12, 2026

EVM Issue

Closes #105

Changes

  • Add web3j = "5.0.0" version entry to gradle/libs.versions.toml
  • Declare web3j-abi, web3j-utils, and web3j-crypto library aliases in version catalog
  • Add all three as implementation dependencies in prism/build.gradle.kts
  • Intentionally excludes web3j:core to avoid OkHttp/RxJava conflicts with Helidon 4 SE

Checklist

  • ./gradlew build passes
  • Unit tests added/updated — N/A (build config only)
  • Integration tests added/updated — N/A (build config only)
  • ArchUnit rules pass
  • Spotless formatting applied
  • web3j:core confirmed absent from dependency tree

Summary by CodeRabbit

  • Chores
    • Build configuration updated to add a shared web3j version and three web3j libraries (abi, utils, crypto) as runtime dependencies, enabling related functionality and libraries to be available at runtime.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Puneethkumarck Puneethkumarck added enhancement New feature or request phase:0-scaffolding Project scaffolding labels Apr 12, 2026
@Puneethkumarck Puneethkumarck self-assigned this Apr 12, 2026
@Puneethkumarck Puneethkumarck added enhancement New feature or request phase:0-scaffolding Project scaffolding labels Apr 12, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 12, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 61d820b4-5a86-49a8-8ac8-209f25f84b11

📥 Commits

Reviewing files that changed from the base of the PR and between b81ef25 and da7160b.

📒 Files selected for processing (1)
  • gradle/libs.versions.toml

📝 Walkthrough

Walkthrough

The PR adds a web3j = "5.0.2" version entry to the Gradle version catalog and three library aliases (web3j-abi, web3j-utils, web3j-crypto), and adds corresponding implementation dependencies to the prism module build file.

Changes

Cohort / File(s) Summary
Version Catalog Configuration
gradle/libs.versions.toml
Added web3j = "5.0.2" and library aliases: web3j-abi, web3j-utils, web3j-crypto mapping to org.web3j:abi, org.web3j:utils, org.web3j:crypto with version.ref = "web3j".
Module Dependency Declarations
prism/build.gradle.kts
Added three implementation(libs.web3j.abi), implementation(libs.web3j.utils), and implementation(libs.web3j.crypto) dependency declarations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I hopped into Gradle, nose a-twitch,
Added three libs without a glitch,
ABI, utils, crypto — a neat little stack,
Version five point oh two — no core to unpack,
Tail twitching, I bounce; the build stays on track.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR added web3j version 5.0.2 but issue #105 specifies version 5.0.0 as the requirement. Either update the web3j version back to 5.0.0 as specified in issue #105, or update the issue to reflect the new version requirement with justification.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'EVM-1: add web3j dependencies to Gradle build' clearly and concisely summarizes the main change in the pull request.
Out of Scope Changes check ✅ Passed All changes directly address the issue #105 requirements: adding web3j libraries to version catalog and declaring dependencies in build.gradle.kts.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/EVM-1-add-web3j-dependencies

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.

Copy link
Copy Markdown

@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

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@gradle/libs.versions.toml`:
- Line 24: Update the web3j dependency entry in gradle/libs.versions.toml by
changing the version string for the web3j key from "5.0.0" to "5.0.2" (the
unique symbol is the web3j entry) and then refresh/update Gradle project
metadata/lockfiles (e.g., run a dependency refresh or regenerate lockfile) to
ensure transitive dependencies are resolved to the patched versions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d9127d3d-01be-4994-93b9-d652deacbd74

📥 Commits

Reviewing files that changed from the base of the PR and between 786368a and b81ef25.

📒 Files selected for processing (2)
  • gradle/libs.versions.toml
  • prism/build.gradle.kts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Puneethkumarck Puneethkumarck merged commit 7a8d374 into main Apr 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request phase:0-scaffolding Project scaffolding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EVM-1: Add web3j dependencies to Gradle build

1 participant