Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.javiersc.hubdle.project") version "0.5.0-alpha.36"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.javiersc.hubdle.project" version "0.5.0-alpha.36"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects