Repository navigation
Declare the dev repo with devPublish.dependency() - #102
Merged
Merged
Conversation
aSemy
force-pushed
the
improve-ux/devpublish-dependency-autowiring
branch
5 times, most recently
from
October 1, 2026 18:34
896f0c4 to
07202e5
Compare
- `DevPublishMetadata` - constants for the metadata file. - `DevPublishInternalApi` - shared between the plugin and test-utils. (test-utils will be created in the next commit)
A utility library for users of DevPublish. It finds the dev Maven repository from the test runtime classpath, and generates the `repositories {}` and `pluginManagement {}` blocks a test project needs, in either the Kotlin or the Groovy DSL.
Nothing wires it up yet: the plugin will use it when the `devPublish.dependency()` util is added in the next commit.
Tests get the dev Maven repository by declaring a dependency on `devPublish.dependency()`.
example:
```
dependencies {
testImplementation(devPublish.dependency())
}
```
The dependency wires the `updateDevRepo` task dependency, adds `dev-publish-utils`, and puts a metadata file on the test runtime classpath with a relative path to the dev-repo location.
aSemy
force-pushed
the
improve-ux/devpublish-dependency-autowiring
branch
from
October 1, 2026 18:42
07202e5 to
a1e9186
Compare
aSemy
marked this pull request as ready for review
October 1, 2026 18:42
aSemy
enabled auto-merge
October 1, 2026 18:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.