46 lines
No EOL
995 B
Kotlin
46 lines
No EOL
995 B
Kotlin
plugins {
|
|
kotlin("jvm") version "1.3.72"
|
|
application
|
|
kotlin("kapt") version "1.3.72"
|
|
id("com.github.johnrengelman.shadow") version "5.2.0"
|
|
}
|
|
|
|
group = "dev.acicchetti"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
maven {
|
|
url = uri("https://dl.bintray.com/arrow-kt/arrow-kt/")
|
|
}
|
|
}
|
|
|
|
val arrowVersion = "0.10.5"
|
|
dependencies {
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
|
|
implementation("com.github.ajalt:clikt:2.6.0")
|
|
|
|
implementation("io.arrow-kt:arrow-core:$arrowVersion")
|
|
implementation("io.arrow-kt:arrow-syntax:$arrowVersion")
|
|
implementation("io.arrow-kt:arrow-optics:$arrowVersion")
|
|
kapt("io.arrow-kt:arrow-meta:$arrowVersion")
|
|
}
|
|
|
|
application {
|
|
mainClassName = "CliParserKt"
|
|
}
|
|
|
|
tasks {
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|
|
}
|
|
|
|
tasks.named<Wrapper>("wrapper") {
|
|
distributionType = Wrapper.DistributionType.ALL
|
|
} |