Search Gradle plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.gradle.kotlin.kotlin-dsl.base") version "2.1.4"
}

See also:

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