Skip to content

Commit

Permalink
build: Set JVM source and target version
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jul 8, 2024
1 parent e8c2488 commit 267546f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
alias(libs.plugins.kotlin)
alias(libs.plugins.ktor)
Expand Down Expand Up @@ -35,6 +37,17 @@ ktor {
}
}

java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

kotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_21
}
}

repositories {
mavenCentral()
google()
Expand Down

0 comments on commit 267546f

Please sign in to comment.