Reworked config builder.
Added parameters' documentation.
This commit is contained in:
parent
f0b7902cab
commit
cfa49e7e3e
7 changed files with 109 additions and 36 deletions
|
@ -13,7 +13,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation("net.thauvin.erik:isgd-shorten:1.0.1")
|
||||
implementation("net.thauvin.erik:isgd-shorten:1.0.2-SNAPSHOT")
|
||||
}
|
||||
|
||||
java {
|
||||
|
@ -25,11 +25,11 @@ application {
|
|||
mainClass.set("com.example.IsgdExampleKt")
|
||||
}
|
||||
|
||||
tasks {
|
||||
withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.jvmTarget = java.targetCompatibility.toString()
|
||||
}
|
||||
kotlin {
|
||||
compilerOptions.jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11)
|
||||
}
|
||||
|
||||
tasks {
|
||||
register("runJava", JavaExec::class) {
|
||||
group = "application"
|
||||
mainClass.set("com.example.IsgdSample")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue