Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.ca.apim.gateway.gateway-export-plugin-base") version "0.7.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.ca.apim.gateway:gateway-export-plugin:0.7.2")
  }
}

apply(plugin = "com.ca.apim.gateway.gateway-export-plugin-base")

Using the plugins DSL:

plugins {
  id "com.ca.apim.gateway.gateway-export-plugin-base" version "0.7.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.ca.apim.gateway:gateway-export-plugin:0.7.2"
  }
}

apply plugin: "com.ca.apim.gateway.gateway-export-plugin-base"

Learn how to apply plugins to subprojects