Updated examples (Kotlin 1.5.31, JDK 1.8)
This commit is contained in:
parent
2cd3b9cd61
commit
2f9ab9a4cf
1 changed files with 7 additions and 2 deletions
|
@ -3,7 +3,7 @@ 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.30"
|
||||
kotlin("jvm") version "1.5.31"
|
||||
}
|
||||
|
||||
// ./gradlew run
|
||||
|
@ -19,6 +19,11 @@ dependencies {
|
|||
implementation("net.thauvin.erik:pinboard-poster:1.0.4-SNAPSHOT")
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass.set("net.thauvin.erik.pinboard.samples.KotlinExampleKt")
|
||||
}
|
||||
|
@ -27,4 +32,4 @@ tasks {
|
|||
withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.jvmTarget = java.targetCompatibility.toString()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue