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

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)

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects