Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.gradle.rest") version "2020.10.09-4217"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.brambolt.gradle:gradle-rest:2020.10.09-4217")
  }
}

apply(plugin = "com.brambolt.gradle.rest")

Using the plugins DSL:

plugins {
  id "com.brambolt.gradle.rest" version "2020.10.09-4217"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.brambolt.gradle:gradle-rest:2020.10.09-4217"
  }
}

apply plugin: "com.brambolt.gradle.rest"

Learn how to apply plugins to subprojects