import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("com.github.johnrengelman.shadow") version Versions.com_github_johnrengelman_shadow_gradle_plugin id("de.fayard.buildSrcVersions") version Versions.de_fayard_buildsrcversions_gradle_plugin kotlin("jvm") version Versions.org_jetbrains_kotlin_jvm_gradle_plugin application } group = "com.anthonycicchetti" version = file("VERSION").readText().trim() repositories { mavenCentral() } dependencies { implementation(kotlin("stdlib-jdk8")) implementation(Libs.javalin) implementation(Libs.javalin_openapi) implementation(Libs.slf4j_simple) implementation(Libs.jackson_databind) implementation(Libs.jackson_module_kotlin) implementation(Libs.swagger_core) implementation(Libs.kotlin_openapi3_dsl) implementation(Libs.swagger_ui) testImplementation(Libs.junit_jupiter) } application { mainClassName = "com.anthonycicchetti.slackbot.MainKt" } tasks.withType { kotlinOptions { jvmTarget = "1.8" useIR = true } } tasks.withType { useJUnitPlatform() testLogging { events("passed", "skipped", "failed") } }