import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
  id("java-gradle-plugin")
  kotlin("jvm")
  id("com.github.gmazzo.buildconfig")
}

dependencies {
  implementation(kotlin("stdlib"))
  implementation(kotlin("gradle-plugin-api"))
}

buildConfig {
  val project = project(":kotlin-ir-plugin")
  packageName(project.group.toString())
  buildConfigField("String", "KOTLIN_PLUGIN_ID", "\"${rootProject.extra["kotlin_plugin_id"]}\"")
  buildConfigField("String", "KOTLIN_PLUGIN_GROUP", "\"${project.group}\"")
  buildConfigField("String", "KOTLIN_PLUGIN_NAME", "\"${project.name}\"")
  buildConfigField("String", "KOTLIN_PLUGIN_VERSION", "\"${project.version}\"")
}

tasks.withType<KotlinCompile> {
  kotlinOptions.jvmTarget = "1.8"
}

gradlePlugin {
  plugins {
    create("kotlinIrPluginTemplate") {
      id = rootProject.extra["kotlin_plugin_id"] as String
      displayName = "Kotlin Ir Plugin Template"
      description = "Kotlin Ir Plugin Template"
      implementationClass = "com.bnorm.template.TemplateGradlePlugin"
    }
  }
}

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
  id("java-gradle-plugin")
  kotlin("jvm")
  id("com.github.gmazzo.buildconfig")
}

dependencies {
  implementation(kotlin("gradle-plugin-api"))
}

buildConfig {
  val project = project(":kotlin-ir-plugin")
  packageName(project.group.toString())
  buildConfigField("String", "KOTLIN_PLUGIN_ID", "\"${rootProject.extra["kotlin_plugin_id"]}\"")
  buildConfigField("String", "KOTLIN_PLUGIN_GROUP", "\"${project.group}\"")
  buildConfigField("String", "KOTLIN_PLUGIN_NAME", "\"${project.name}\"")
  buildConfigField("String", "KOTLIN_PLUGIN_VERSION", "\"${project.version}\"")
}

tasks.withType<KotlinCompile> {
  kotlinOptions.jvmTarget = "1.8"
}

gradlePlugin {
  plugins {
    create("kotlinIrPluginTemplate") {
      id = rootProject.extra["kotlin_plugin_id"] as String
      displayName = "Kotlin Ir Plugin Template"
      description = "Kotlin Ir Plugin Template"
      implementationClass = "com.bnorm.template.TemplateGradlePlugin"
    }
  }
}

Remove explicit dependency on the kotlin-stdlib
Remove explicit dependency on the kotlin-stdlib

Upstream: https://github.com/bnorm/kotlin-ir-plugin-template/commit/242ab139a9406519ff0f599792e26ad016fd54db
square/duktape-android,square/duktape-android,square/duktape-android,square/duktape-android,square/duktape-android