io.github.0ffz.github-packages
Owner: Daniel Voznyy
Cleanly add Github Packages maven repos with credentials in global gradle.properties or env variable (for Github Actions)
https://github.com/0ffz/gpr-for-gradle
Sources: https://github.com/0ffz/gpr-for-gradle.git
Version 1.2.1 (latest)
Created 12 March 2021.
Cleanly add Github Packages maven repos with credentials in global gradle.properties or env variable (for Github Actions)
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.0ffz.github-packages") version "1.2.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("io.github.0ffz.github-packages:io.github.0ffz.github-packages.gradle.plugin:1.2.1") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.0ffz.github-packages") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.0ffz.github-packages:io.github.0ffz.github-packages.gradle.plugin:1.2.1") } } apply(plugin = "io.github.0ffz.github-packages")
- Applying plugins to all subprojects .