Search Gradle plugins

io.github.0ffz.github-packages

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

Version 1.0.5 (latest)

Created 19 August 2020.

Cleanly add Github Packages maven repos with credentials in global gradle.properties or env variable (for Github Actions)

Using the plugins DSL:

plugins {
  id "io.github.0ffz.github-packages" version "1.0.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.0ffz:gpr-for-gradle:1.0.5"
  }
}

apply plugin: "io.github.0ffz.github-packages"

Using the plugins DSL:

plugins {
  id("io.github.0ffz.github-packages") version "1.0.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.0ffz:gpr-for-gradle:1.0.5")
  }
}

apply(plugin = "io.github.0ffz.github-packages")

Learn how to apply plugins to subprojects