Skip to content

Extract jib plugin to its own subproject#342

Merged
ryandens merged 4 commits intomainfrom
ryandens/modularize-jib
Apr 27, 2026
Merged

Extract jib plugin to its own subproject#342
ryandens merged 4 commits intomainfrom
ryandens/modularize-jib

Conversation

@ryandens
Copy link
Copy Markdown
Owner

Summary

  • Moves the com.ryandens.javaagent-jib plugin out of the plugin subproject into two new subprojects: jib-common (the Jib extension logic, shared with a future tiny-jib plugin) and jib (the Gradle plugin entry point that wires JavaagentJibExtension into Jib's plugin extension mechanism)
  • Introduces JavaagentJibPlugin as a thin Plugin<Project> wrapper in the jib subproject, so jib-common can remain a pure library dependency for a future tiny-jib plugin
  • Fixes task ordering: pluginUnderTestMetadata in :jib now explicitly depends on :jib-common:jar and :plugin:jar
  • Removes the orphaned JibExtensionConfiguration.java that was left behind in the plugin subproject

Test plan

  • ./gradlew :jib:build passes (unit + functional tests)
  • ./gradlew :plugin:build passes (no jib references remain)
  • ./gradlew build passes across all subprojects

🤖 Generated with Claude Code

@ryandens ryandens merged commit a936528 into main Apr 27, 2026
2 checks passed
@ryandens ryandens deleted the ryandens/modularize-jib branch April 27, 2026 00:30
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