Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored May 25, 2024
1 parent 2ee0dfb commit fcdefcf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions gradle/plugins/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile

plugins {
id 'java-gradle-plugin'
alias(libs.plugins.starter.library.kotlin)
Expand All @@ -14,14 +12,6 @@ kotlin {
jvmToolchain(21)
}

def targetJavaVersion = JavaVersion.VERSION_1_8
tasks.withType(JavaCompile).configureEach {
options.release.set(targetJavaVersion.majorVersion.toInteger())
}
tasks.withType(KotlinCompile).configureEach {
kotlinOptions.jvmTarget = targetJavaVersion
}

gradlePlugin {
plugins {
publishingPlugin {
Expand Down

0 comments on commit fcdefcf

Please sign in to comment.