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 {
|
plugins {
|
||||||
id("application")
|
id("application")
|
||||||
id("com.github.ben-manes.versions") version "0.39.0"
|
id("com.github.ben-manes.versions") version "0.39.0"
|
||||||
kotlin("jvm") version "1.5.30"
|
kotlin("jvm") version "1.5.31"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ./gradlew run
|
// ./gradlew run
|
||||||
|
@ -19,6 +19,11 @@ dependencies {
|
||||||
implementation("net.thauvin.erik:pinboard-poster:1.0.4-SNAPSHOT")
|
implementation("net.thauvin.erik:pinboard-poster:1.0.4-SNAPSHOT")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClass.set("net.thauvin.erik.pinboard.samples.KotlinExampleKt")
|
mainClass.set("net.thauvin.erik.pinboard.samples.KotlinExampleKt")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue