Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.cloudshiftdev.codeartifact") version "0.9.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.cloudshiftdev.codeartifact:codeartifact-plugin:0.9.2")
  }
}

apply(plugin = "io.cloudshiftdev.codeartifact")

Using the plugins DSL:

plugins {
  id "io.cloudshiftdev.codeartifact" version "0.9.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.cloudshiftdev.codeartifact:codeartifact-plugin:0.9.2"
  }
}

apply plugin: "io.cloudshiftdev.codeartifact"

Learn how to apply plugins to subprojects