Silly Gradle plugin that starts slow roads while your build is running.
I DON'T OWN THE GAME. If you like it, please, donate author on ko-fi.
Plugin hosted on Plugin Portal. Just add this to your root build.gradle:
The plugin was rejected by Gradle Plugin Portal. You have to install it from GitHub Packages, which requires some effort to authenticate.
You must add the GitHub Packages repository to the pluginManagement repositories in your root settings.gradle(.kts)
and provide credentials.
Prerequisites:
- A GitHub personal access token (classic) with at least
read:packagesscope. If the package is in a private repo, also addreposcope - Your GitHub username
- Add credentials to
~/.gradle/gradle.propertiesor your projectgradle.properties:
gpr.user=YOUR_GITHUB_USERNAME
gpr.key=YOUR_GITHUB_PAT
- Point plugin resolution to GitHub Packages in
settings.gradle.kts:
pluginManagement {
repositories {
gradlePluginPortal()
maven {
url = uri("https://maven.pkg.github.com/snpefk/slowroads-plugin")
credentials {
// Will use values from gradle.properties if present, else fall back to env (useful in CI)
username = providers.gradleProperty("gpr.user")
.get()
password = providers.gradleProperty("gpr.key")
.get()
}
}
}
}- Apply the plugin in your root build script (
build.gradle.kts):
plugins {
id("io.github.snpefk.slowroads-plugin") version "1.0"
}Run the sample project
./gradlew -p samples/simple dummy