Updated examples (Kotlin 1.5.31, JDK 1.8)
This commit is contained in:
parent
27b7e3f636
commit
7f18ee1f34
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 --args='https://www.example.com https://is.gd/Pt2sET'
|
// ./gradlew run --args='https://www.example.com https://is.gd/Pt2sET'
|
||||||
|
@ -18,6 +18,11 @@ dependencies {
|
||||||
implementation("net.thauvin.erik:isgd-shorten:0.9.2-SNAPSHOT")
|
implementation("net.thauvin.erik:isgd-shorten:0.9.2-SNAPSHOT")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClass.set("com.example.IsgdExampleKt")
|
mainClass.set("com.example.IsgdExampleKt")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue