Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.alexmartin.plugins.AwsPlugin") version "0.0.17-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.alexmartin.plugins.AwsPlugin:aws-gradle-plugin:0.0.17-SNAPSHOT")
  }
}

apply(plugin = "com.alexmartin.plugins.AwsPlugin")

Using the plugins DSL:

plugins {
  id "com.alexmartin.plugins.AwsPlugin" version "0.0.17-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.alexmartin.plugins.AwsPlugin:aws-gradle-plugin:0.0.17-SNAPSHOT"
  }
}

apply plugin: "com.alexmartin.plugins.AwsPlugin"

Learn how to apply plugins to subprojects