Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.gradle.build.plugin") version "2020.11.29-4285"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.brambolt.gradle:brambolt-gradle-build-plugin:2020.11.29-4285")
  }
}

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

Using the plugins DSL:

plugins {
  id "com.brambolt.gradle.build.plugin" version "2020.11.29-4285"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.brambolt.gradle:brambolt-gradle-build-plugin:2020.11.29-4285"
  }
}

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

Learn how to apply plugins to subprojects