This repository has been archived on 2024-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
helse-sprik/backend/build.gradle.kts

30 lines
931 B
Text
Raw Normal View History

val ktor_version: String by project
val kotlin_version: String by project
val logback_version: String by project
2023-06-26 10:31:59 +00:00
plugins {
kotlin("jvm") version "1.8.22"
id("io.ktor.plugin") version "2.3.2"
2023-06-26 10:31:59 +00:00
}
group = "no.nav.helse.sprik"
version = "0.0.1"
application {
mainClass.set("no.nav.helse.sprik.ApplicationKt")
val isDevelopment: Boolean = project.ext.has("development")
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
}
2023-06-26 10:31:59 +00:00
repositories {
mavenCentral()
}
dependencies {
implementation("io.ktor:ktor-server-core-jvm:$ktor_version")
implementation("io.ktor:ktor-server-netty-jvm:$ktor_version")
implementation("ch.qos.logback:logback-classic:$logback_version")
testImplementation("io.ktor:ktor-server-tests-jvm:$ktor_version")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
implementation("io.ktor:ktor-server-cors:$ktor_version")
2023-06-26 10:31:59 +00:00
}