Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.webpieces.templatecompiler") version "2.1.61"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.webpieces:gradle-plugin-htmlcompiler:2.1.61")
  }
}

apply(plugin = "org.webpieces.templatecompiler")

Using the plugins DSL:

plugins {
  id "org.webpieces.templatecompiler" version "2.1.61"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.webpieces:gradle-plugin-htmlcompiler:2.1.61"
  }
}

apply plugin: "org.webpieces.templatecompiler"

Learn how to apply plugins to subprojects