Updated examples (Kotlin 1.5.31, JDK 11)
This commit is contained in:
parent
99e35b943f
commit
952be64864
1 changed files with 6 additions and 1 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
|
||||||
|
@ -23,6 +23,11 @@ dependencies {
|
||||||
implementation("net.thauvin.erik:cryptoprice:0.9.0-SNAPSHOT")
|
implementation("net.thauvin.erik:cryptoprice:0.9.0-SNAPSHOT")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_11
|
||||||
|
targetCompatibility = JavaVersion.VERSION_11
|
||||||
|
}
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClass.set("com.example.CryptoPriceExampleKt")
|
mainClass.set("com.example.CryptoPriceExampleKt")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue