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.romangraef:frege-gradle-plugin:${requested.version}")
            }
        }
    }
}