Search Gradle plugins

nebula.kotlin

Provides the Kotlin plugin via the Gradle plugin portal and allows Kotlin library versions to be omitted

https://github.com/nebula-plugins/nebula-kotlin-plugin

Using the plugins DSL:

plugins {
  id "nebula.kotlin" version "1.3.31"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.netflix.nebula:nebula-kotlin-plugin:1.3.31"
  }
}

apply plugin: "nebula.kotlin"

Using the plugins DSL:

plugins {
  id("nebula.kotlin") version "1.3.31"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.netflix.nebula:nebula-kotlin-plugin:1.3.31")
  }
}

apply(plugin = "nebula.kotlin")

Learn how to apply plugins to subprojects