Skip to content

Commit

Permalink
add kotlin to the cli example
Browse files Browse the repository at this point in the history
  • Loading branch information
Revxrsal committed Oct 3, 2024
1 parent e717a1a commit 26b739b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/cli-app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id("java")
kotlin("jvm")
}

group = "io.github.revxrsal"
Expand All @@ -11,9 +12,14 @@ repositories {
dependencies {
implementation(project(":common"))
implementation(project(":cli"))
implementation(kotlin("stdlib-jdk8"))
}

tasks.withType<JavaCompile> {
// Preserve parameter names in the bytecode
options.compilerArgs.add("-parameters")
}

kotlin {
jvmToolchain(17)
}

0 comments on commit 26b739b

Please sign in to comment.