Search Gradle plugins

Version 2.2.0 (latest)

Created 07 October 2022.

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.2.0"
}

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.2.0"
  }
}

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

Using the plugins DSL:

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

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.2.0")
  }
}

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

Learn how to apply plugins to subprojects