2021-08-04 05:04:03 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-03-10 11:04:05 +00:00
|
|
|
classpath libs.buildscript.kt.gradle
|
|
|
|
classpath libs.buildscript.kt.serialization
|
2021-08-04 05:04:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
|
|
id "org.jetbrains.kotlin.plugin.serialization"
|
|
|
|
id "application"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-03-10 11:04:05 +00:00
|
|
|
implementation libs.kt.stdlib
|
|
|
|
implementation libs.kt.serialization
|
2021-08-04 05:04:03 +00:00
|
|
|
|
2022-03-10 11:04:05 +00:00
|
|
|
implementation libs.ktor.client
|
|
|
|
implementation libs.ktor.client.java
|
2021-08-04 05:04:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mainClassName="MainKt"
|
2021-11-09 08:03:51 +00:00
|
|
|
|
2023-04-27 09:27:53 +00:00
|
|
|
kotlin {
|
|
|
|
jvmToolchain(8)
|
|
|
|
}
|
|
|
|
|
2021-11-09 08:03:51 +00:00
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|