Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.gradle.rest") version "2022.01.22-6006"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.brambolt.gradle.rest" version "2022.01.22-6006"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects