tricktron / frege-gradle-plugin

Gradle plugin for compiling Frege projects
2 stars 1 forks source link

Release to Gradle Plugin Repo #15

Open tricktron opened 2 years ago

tricktron commented 2 years ago

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

nea89o commented 2 years ago

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 commented 2 years ago

@romangraef Nice alternative solution, thanks.