Search Gradle plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.jetbrains.kotlin.plugin.scripting") version "2.1.0"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0")
      }
    }
    
    apply(plugin = "org.jetbrains.kotlin.plugin.scripting")
  • Applying plugins to all subprojects .