Search Gradle plugins

Using the plugins DSL:

plugins {
  id "com.brambolt.gradle.velocity" version "2020.12.11-4298"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.brambolt.gradle:brambolt-gradle-velocity:2020.12.11-4298"
  }
}

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

Using the plugins DSL:

plugins {
  id("com.brambolt.gradle.velocity") version "2020.12.11-4298"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects