Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.gradle.build.archive") version "2020.11.24-4283"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.brambolt.gradle.build.archive" version "2020.11.24-4283"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.brambolt.gradle:brambolt-gradle-build-archive:2020.11.24-4283"
  }
}

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

Learn how to apply plugins to subprojects