Search Gradle plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.jetbrains.kotlin.plugin.sam.with.receiver") version "1.9.0-Beta"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.jetbrains.kotlin:kotlin-sam-with-receiver:1.9.0-Beta")
      }
    }
    
    apply(plugin = "org.jetbrains.kotlin.plugin.sam.with.receiver")
  • Applying plugins to all subprojects .