buildscript {
    repositories {
        mavenCentral()
    }

    dependencies {
        classpath libs.buildscript.kt.gradle
        classpath libs.buildscript.kt.serialization
    }
}

plugins {
    id 'org.jetbrains.kotlin.jvm'
    id "org.jetbrains.kotlin.plugin.serialization"
    id "application"
}

dependencies {
    implementation libs.kt.stdlib
    implementation libs.kt.serialization

    implementation libs.ktor.client
    implementation libs.ktor.client.java
}

mainClassName="MainKt"

java {
    sourceCompatibility = JavaVersion.VERSION_1_8
    targetCompatibility = JavaVersion.VERSION_1_8
}