Skip to content

Commit

Permalink
Remove redundant java plugin application in kotlin-kts example project
Browse files Browse the repository at this point in the history
  • Loading branch information
qurbonzoda committed Sep 30, 2024
1 parent cd920c2 commit 0dc32ec
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions examples/kotlin-kts/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

import kotlinx.benchmark.gradle.*
import org.jetbrains.kotlin.allopen.gradle.*
import org.jetbrains.kotlin.gradle.tasks.*


plugins {
java
kotlin("jvm")
kotlin("plugin.allopen") version "2.0.20"
id("org.jetbrains.kotlinx.benchmark")
Expand All @@ -25,16 +23,8 @@ dependencies {
implementation(project(":kotlinx-benchmark-runtime"))
}

tasks.withType<JavaCompile> {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}


tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
}
kotlin {
jvmToolchain(8)
}

benchmark {
Expand Down

0 comments on commit 0dc32ec

Please sign in to comment.