project.version = "0.18.0" project.group = "com.github.insanusmokrassar" buildscript { repositories { mavenLocal() jcenter() mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$gradle_bintray_plugin_version" } } apply plugin: 'java-library' apply plugin: 'kotlin' apply plugin: 'kotlinx-serialization' apply from: "publish.gradle" repositories { mavenLocal() jcenter() mavenCentral() maven { url "https://kotlin.bintray.com/kotlinx" } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version" api "org.jetbrains.kotlinx:kotlinx-serialization-runtime:$kotlin_serialisation_runtime_version" api "joda-time:joda-time:$joda_time_version" api "io.ktor:ktor-client:$ktor_version" api "io.ktor:ktor-client-cio:$ktor_version" api "io.ktor:ktor-server:$ktor_version" api "io.ktor:ktor-server-host-common:$ktor_version" } compileKotlin { kotlinOptions { freeCompilerArgs = [ disableImplicitReflectionSerializerAnnotation ] } }