Search Gradle plugins

dev.tilbrook.kotlin.bytecode-target

Sets the Kotlin and Java sourceCompatibility targetCompatibility and release flag to a specific bytecode target

https://github.com/marukami/kotlin-bytecode-target-plugin

Sources: https://github.com/marukami/kotlin-bytecode-target-plugin

Version 1.0.0 (latest)

1.0.0

Created 26 June 2024.

Sets the Kotlin and Java sourceCompatibility targetCompatibility and release flag to a specific bytecode target

Using the plugins DSL:

plugins {
  id("dev.tilbrook.kotlin.bytecode-target") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("dev.tilbrook:kotlin-jdk-target:1.0.0")
  }
}

apply(plugin = "dev.tilbrook.kotlin.bytecode-target")

Using the plugins DSL:

plugins {
  id "dev.tilbrook.kotlin.bytecode-target" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.tilbrook:kotlin-jdk-target:1.0.0"
  }
}

apply plugin: "dev.tilbrook.kotlin.bytecode-target"

Learn how to apply plugins to subprojects