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 21:28:25 +02:00
|
|
|
implementation(Ktor.slf4j)
|
2021-06-05 20:43:55 +02:00
|
|
|
implementation(Ktor.clientCore)
|
|
|
|
implementation(Ktor.clientJson)
|
|
|
|
implementation(Ktor.clientApache)
|
|
|
|
implementation(Ktor.clientLogging)
|
|
|
|
implementation(Ktor.clientSerialization)
|
|
|
|
implementation(Serialization.json)
|
2021-05-18 16:55:07 +02:00
|
|
|
// testDeps
|
|
|
|
testImplementation(kotlin("test-junit"))
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnit()
|
|
|
|
}
|