Search Gradle plugins

Version 4.5.0

4.5.0

Created 12 May 2021.

Configure Kotlin/JS plugin in root project

Using the plugins DSL:

plugins {
  id("com.github.turansky.kfc.root") version "4.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.turansky.kfc:gradle-plugin:4.5.0")
  }
}

apply(plugin = "com.github.turansky.kfc.root")

Using the plugins DSL:

plugins {
  id "com.github.turansky.kfc.root" version "4.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.turansky.kfc:gradle-plugin:4.5.0"
  }
}

apply plugin: "com.github.turansky.kfc.root"

Learn how to apply plugins to subprojects