co.insecurity.repository-mirrors
Owner: Milo Minderbinder
Gradle Plugin that automatically updates buildscript and project repositories to use the configured mirror URLs.
https://github.com/milo-minderbinder/repository-mirrors-gradle-plugin
Sources: https://github.com/milo-minderbinder/repository-mirrors-gradle-plugin
Version 0.4.2 (latest)
0.4.2
Created 21 February 2024.
A Gradle init script plugin that dynamically updates buildscript and project repositories to use the configured mirror URLs.
Using the plugins DSL:
plugins {
id("co.insecurity.repository-mirrors") version "0.4.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("co.insecurity:repository-mirrors-gradle-plugin:0.4.2")
}
}
apply(plugin = "co.insecurity.repository-mirrors")
Using the plugins DSL:
plugins {
id "co.insecurity.repository-mirrors" version "0.4.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "co.insecurity:repository-mirrors-gradle-plugin:0.4.2"
}
}
apply plugin: "co.insecurity.repository-mirrors"