Search Gradle plugins

Using the plugins DSL:

plugins {
  id("gradle-clojure.clojure") version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.gradle-clojure:gradle-clojure-plugin:0.4.0")
  }
}

apply(plugin = "gradle-clojure.clojure")

Using the plugins DSL:

plugins {
  id "gradle-clojure.clojure" version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.gradle-clojure:gradle-clojure-plugin:0.4.0"
  }
}

apply plugin: "gradle-clojure.clojure"

Learn how to apply plugins to subprojects