Search Gradle plugins

Using the plugins DSL:

plugins {
  id("dev.clojurephant.clojurescript") version "0.8.0-beta.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("dev.clojurephant:clojurephant-plugin:0.8.0-beta.2")
  }
}

apply(plugin = "dev.clojurephant.clojurescript")

Using the plugins DSL:

plugins {
  id "dev.clojurephant.clojurescript" version "0.8.0-beta.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.clojurephant:clojurephant-plugin:0.8.0-beta.2"
  }
}

apply plugin: "dev.clojurephant.clojurescript"

Learn how to apply plugins to subprojects