Search Gradle plugins

Version 1.0.1.RELEASE (latest)

Created 11 February 2016.

Plugin for running Groovy scripts with same options as from the Groovy command line

Using the plugins DSL:

plugins {
  id("com.mrhaki.groovyrun") version "1.0.1.RELEASE"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.mrhaki.gradle.groovyrun:groovyrun-gradle-plugin:1.0.1.RELEASE")
  }
}

apply(plugin = "com.mrhaki.groovyrun")

Using the plugins DSL:

plugins {
  id "com.mrhaki.groovyrun" version "1.0.1.RELEASE"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.mrhaki.gradle.groovyrun:groovyrun-gradle-plugin:1.0.1.RELEASE"
  }
}

apply plugin: "com.mrhaki.groovyrun"

Learn how to apply plugins to subprojects