Updated to Kotlin 1.5.30.
This commit is contained in:
parent
233b1acdb2
commit
0a0469c5e0
8 changed files with 333 additions and 230 deletions
|
@ -1,7 +1,9 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
id("application")
|
||||
id("com.github.ben-manes.versions") version "0.39.0"
|
||||
kotlin("jvm") version "1.5.21"
|
||||
kotlin("jvm") version "1.5.30"
|
||||
}
|
||||
|
||||
// ./gradlew run
|
||||
|
@ -21,6 +23,10 @@ application {
|
|||
}
|
||||
|
||||
tasks {
|
||||
withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.jvmTarget = java.targetCompatibility.toString()
|
||||
}
|
||||
|
||||
named<JavaExec>("run") {
|
||||
args = listOf("${project.projectDir}/example.html")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue