Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.ca.apim.gateway.gateway-developer-plugin") version "0.6.45"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.ca.apim.gateway.gateway-developer-plugin" version "0.6.45"
}

Using legacy plugin application:

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

apply plugin: "com.ca.apim.gateway.gateway-developer-plugin"

Learn how to apply plugins to subprojects