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

Release to Gradle Plugin Repo #15

Open
tricktron opened this issue Dec 11, 2021 · 2 comments
Open

Release to Gradle Plugin Repo #15

tricktron opened this issue Dec 11, 2021 · 2 comments

Comments

@tricktron
Copy link
Owner

The plugin is almost ready for its maiden release. Some things to consider first:

@nea89o
Copy link

nea89o commented Feb 14, 2022

while this isnt published to the gradle repo, something similar can be achieved by using gradles plugin management functionality

pluginManagement {
    repositories {
        mavenCentral()
        gradlePluginPortal()
        maven(url = "https://jitpack.io/") {
            content {
                includeGroupByRegex("(com|io)\\.github\\..+")
            }
        }
    }
    resolutionStrategy {
        eachPlugin {
            when (requested.id.id) {
                "ch.fhnw.thga.frege" -> useModule("com.github.tricktron:frege-gradle-plugin:${requested.version}")
            }
        }
    }
}

@tricktron
Copy link
Owner Author

@romangraef Nice alternative solution, thanks.

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

No branches or pull requests

2 participants