Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.ajoberstar.reckon") version "0.9.0-rc.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.ajoberstar.reckon:reckon-gradle:0.9.0-rc.1")
  }
}

apply(plugin = "org.ajoberstar.reckon")

Using the plugins DSL:

plugins {
  id "org.ajoberstar.reckon" version "0.9.0-rc.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.ajoberstar.reckon:reckon-gradle:0.9.0-rc.1"
  }
}

apply plugin: "org.ajoberstar.reckon"

Learn how to apply plugins to subprojects