Search Gradle plugins

Version 2.0.0 (latest)

2.0.0

Created 13 October 2020.

The Gradle plugin to execute some Kotlin Script as a Gradle task.

Using the plugins DSL:

plugins {
  id("com.anatawa12.kotlinScriptRunner") version "2.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.anatawa12.kotlinScriptRunner:KotlinScriptRunner:2.0.0")
  }
}

apply(plugin = "com.anatawa12.kotlinScriptRunner")

Using the plugins DSL:

plugins {
  id "com.anatawa12.kotlinScriptRunner" version "2.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.anatawa12.kotlinScriptRunner:KotlinScriptRunner:2.0.0"
  }
}

apply plugin: "com.anatawa12.kotlinScriptRunner"

Learn how to apply plugins to subprojects