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-09-02 19:57:17 +02:00
|
|
|
|
2021-05-18 16:55:07 +02:00
|
|
|
// testDeps
|
2021-08-19 22:44:56 +02:00
|
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:1.5.21")
|
2021-05-18 16:55:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnit()
|
|
|
|
}
|