2021-08-04 05:04:03 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
|
|
id "org.jetbrains.kotlin.plugin.serialization"
|
|
|
|
id "application"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlin_serialisation_core_version"
|
|
|
|
|
|
|
|
implementation "io.ktor:ktor-client-core:$ktor_version"
|
|
|
|
implementation "io.ktor:ktor-client-java:$ktor_version"
|
|
|
|
}
|
|
|
|
|
|
|
|
mainClassName="MainKt"
|
2021-11-09 08:03:51 +00:00
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|