Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.javiersc.hubdle.project") version "0.7.18"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.javiersc.hubdle:hubdle-gradle-plugin:0.7.18")
  }
}

apply(plugin = "com.javiersc.hubdle.project")

Using the plugins DSL:

plugins {
  id "com.javiersc.hubdle.project" version "0.7.18"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.javiersc.hubdle:hubdle-gradle-plugin:0.7.18"
  }
}

apply plugin: "com.javiersc.hubdle.project"

Learn how to apply plugins to subprojects