Search Gradle plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.jetbrains.kotlin.android.extensions") version "1.8.0"
}

See also:

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