Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.brambolt.gradle.pathing") version "2020.09.29-4205"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.brambolt.gradle.pathing" version "2020.09.29-4205"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.brambolt.gradle:gradle-pathing:2020.09.29-4205"
  }
}

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

Learn how to apply plugins to subprojects