2021-05-18 16:55:07 +02:00
|
|
|
plugins {
|
|
|
|
kotlin("jvm")
|
|
|
|
kotlin("plugin.serialization")
|
2021-05-18 17:06:30 +02:00
|
|
|
id("ktlint-setup")
|
2021-05-18 16:55:07 +02:00
|
|
|
application
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "com.shabinder"
|
|
|
|
version = "1.0"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
2021-05-18 21:31:09 +02:00
|
|
|
mainClass.set("MainKt")
|
|
|
|
applicationName = "maintenance"
|
2021-05-18 16:55:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-24 00:19:50 +02:00
|
|
|
implementation(Extras.fuzzyWuzzy)
|
2021-05-20 12:23:08 +02:00
|
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect:${Versions.kotlinVersion}")
|
2021-05-18 16:55:07 +02:00
|
|
|
implementation("io.ktor:ktor-client-core:1.5.4")
|
|
|
|
implementation("io.ktor:ktor-client-apache:1.5.4")
|
2021-05-24 21:28:25 +02:00
|
|
|
implementation("io.ktor:ktor-client-logging:1.5.4")
|
|
|
|
implementation(Ktor.slf4j)
|
2021-05-18 16:55:07 +02:00
|
|
|
implementation("io.ktor:ktor-client-serialization:1.5.4")
|
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")
|
|
|
|
// testDeps
|
|
|
|
testImplementation(kotlin("test-junit"))
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnit()
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
useIR = true
|
|
|
|
}
|
|
|
|
}
|