ADFA-2496 Add gradle task for plugin-builder and change dependsOn for it#788
ADFA-2496 Add gradle task for plugin-builder and change dependsOn for it#788hal-eisen-adfa wants to merge 2 commits intostagefrom
Conversation
📝 WalkthroughRelease NotesChanges
Risks & Best Practice ViolationsWalkthroughReplaced the immediate dependency on the included build's Changes
Sequence Diagram(s)(omitted — change is localized build-script wiring and does not introduce a multi-component runtime control flow that benefits from a sequence diagram) Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI Agents
In @app/build.gradle.kts:
- Around line 630-638: The buildPluginBuilder task currently invokes
gradle.includedBuild("plugin-builder").task(":jar").get() inside doLast which
causes an unresolved-reference compilation error and improperly runs another
task during execution; instead declare the dependency during configuration by
removing doLast and calling dependsOn with the TaskReference/TaskProvider
obtained from gradle.includedBuild("plugin-builder").task(":jar") so that
buildPluginBuilder dependsOn that included build jar task and execution is
deferred to the Gradle task graph (refer to the buildPluginBuilder task,
gradle.includedBuild("plugin-builder"), and task(":jar") symbols when
implementing this change).
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
app/build.gradle.kts
🧰 Additional context used
🪛 GitHub Actions: Build and deploy to firebase app distribution
app/build.gradle.kts
[error] 636-636: Script compilation error in Gradle Kotlin DSL: Unresolved reference for 'gradle.includedBuild("plugin-builder").task(":jar").get()' at line 636. This caused the Gradle build to fail during the ':app:assembleV8Debug' task.
🔇 Additional comments (1)
app/build.gradle.kts (1)
641-641: Dependency declaration looks correct.The updated dependency on
buildPluginBuilderis properly structured. Once the implementation ofbuildPluginBuilderis fixed (see previous comment), this will correctly ensure the plugin-builder jar is built before creating the plugin artifacts zip.
|
Already addressed by Daniel's PR #783 a few hours ago |
FAILURE: Build failed with an exception.
Could not determine the dependencies of task ':app:createPluginArtifactsZip'.