Search Gradle plugins

Version 2.1.1 (latest)

Created 02 October 2020.

A Gradle plugin used to connect to Artifact Registry Maven repositories.

Using the plugins DSL:

plugins {
  id "com.google.cloud.artifactregistry.gradle-plugin" version "2.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.google.cloud.artifactregistry:artifactregistry-gradle-plugin:2.1.1"
  }
}

apply plugin: "com.google.cloud.artifactregistry.gradle-plugin"

Using the plugins DSL:

plugins {
  id("com.google.cloud.artifactregistry.gradle-plugin") version "2.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.google.cloud.artifactregistry:artifactregistry-gradle-plugin:2.1.1")
  }
}

apply(plugin = "com.google.cloud.artifactregistry.gradle-plugin")

Learn how to apply plugins to subprojects