val ktor_version: String by project val kotlin_version: String by project val logback_version: String by project plugins { id("ru.mipt.npm.gradle.project") application id("ru.mipt.npm.gradle.jvm") } group = "ru.mipt.npm" version = "0.0.1" application { mainClass.set("ru.mipt.ApplicationKt") val isDevelopment: Boolean = project.ext.has("development") applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment") } dependencies { implementation("io.ktor:ktor-server-core-jvm:$ktor_version") implementation("org.jetbrains.kotlinx:kotlinx-html:0.7.3") implementation("io.ktor:ktor-server-html-builder-jvm:$ktor_version") implementation("org.jetbrains:kotlin-css-jvm") implementation("io.ktor:ktor-server-host-common-jvm:$ktor_version") implementation("io.ktor:ktor-server-status-pages-jvm:$ktor_version") implementation("io.ktor:ktor-server-netty-jvm:$ktor_version") implementation("ch.qos.logback:logback-classic:$logback_version") implementation("space.kscience:dataforge-data:0.5.2") implementation("org.jetbrains:markdown:0.3.1") testImplementation("io.ktor:ktor-server-tests-jvm:$ktor_version") testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version") } kotlin { explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Disabled }