Skip to content

Commit

Permalink
Update komok-tech-di-test-central
Browse files Browse the repository at this point in the history
  • Loading branch information
IRus committed Jul 29, 2024
1 parent 37e5f6f commit 3b7ec00
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions komok-tech-di-test-central/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion

plugins {
kotlin("jvm").version("2.0.20-Beta2")
id("com.google.devtools.ksp").version("2.0.20-Beta2-1.0.23")
Expand All @@ -8,8 +11,23 @@ repositories {
mavenLocal()
}

kotlin {
jvmToolchain(21)
}

tasks
.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>()
.configureEach {
compilerOptions {
jvmTarget.set(JVM_21)
languageVersion.set(KotlinVersion.KOTLIN_2_0)
apiVersion.set(KotlinVersion.KOTLIN_2_0)
freeCompilerArgs.add("-Xcontext-receivers")
}
}

dependencies {
implementation(libs.logback)
ksp("io.heapy.komok:komok-tech-di:1.0.0")
implementation("io.heapy.komok:komok-tech-di-lib:1.0.0")
ksp("io.heapy.komok:komok-tech-di:1.0.1")
implementation("io.heapy.komok:komok-tech-di-lib:1.0.1")
}

0 comments on commit 3b7ec00

Please sign in to comment.