Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewrite-gradle-plugin snapshots to ossrh #84

Closed
aegershman opened this issue Dec 10, 2021 · 0 comments
Closed

rewrite-gradle-plugin snapshots to ossrh #84

aegershman opened this issue Dec 10, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aegershman
Copy link
Contributor

aegershman commented Dec 10, 2021

See: openrewrite/rewrite-maven-plugin#265

Publish rewrite-gradle-plugin snapshots to ossrh snapshots.
This will make it more convenient to consume and validate changes prior to release.

Be aware that to resolve plugins from anywhere other than the gradle plugin portal, you need a snippet like this in the settings.gradle.kts

pluginManagement {
    repositories {
        // ...
        maven {
            url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
        }
        // ...
        // you'll likely also need this if you don't have a pluginManagement section already:
        gradlePluginPortal()
        // ...
    }
}

Gradle plugin portal doesn't accept snapshots, but that's alright. We'll push snapshots to OSSRH, and can keep publishing releases just to gradlePluginPortal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant