50 lines
1.9 KiB
Kotlin
50 lines
1.9 KiB
Kotlin
val ktor_version: String by project
|
|
val kotlin_version: String by project
|
|
val logback_version: String by project
|
|
val koinVersion: String by project
|
|
val postgresjson_version: String by project
|
|
|
|
plugins {
|
|
application
|
|
kotlin("jvm") version "1.3.40"
|
|
}
|
|
|
|
group = "fr.dcproject"
|
|
version = "0.0.1"
|
|
|
|
application {
|
|
mainClassName = "io.ktor.server.netty.EngineMain"
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
jcenter()
|
|
maven { url = uri("https://kotlin.bintray.com/ktor") }
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version")
|
|
implementation("io.ktor:ktor-server-netty:$ktor_version")
|
|
implementation("ch.qos.logback:logback-classic:$logback_version")
|
|
implementation("io.ktor:ktor-server-core:$ktor_version")
|
|
implementation("io.ktor:ktor-locations:$ktor_version")
|
|
implementation("io.ktor:ktor-auth:$ktor_version")
|
|
implementation("io.ktor:ktor-auth-jwt:$ktor_version")
|
|
implementation("io.ktor:ktor-gson:$ktor_version")
|
|
implementation("org.koin:koin-ktor:$koinVersion")
|
|
implementation("io.ktor:ktor-jackson:$ktor_version")
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.9")
|
|
implementation("com.fasterxml.jackson.datatype:jackson-datatype-joda:2.9.9")
|
|
implementation("net.pearx.kasechange:kasechange-jvm:1.1.0")
|
|
implementation("fr.postgresjson:postgresjson-jdbc:$postgresjson_version")
|
|
testImplementation("io.ktor:ktor-server-tests:$ktor_version")
|
|
testImplementation("io.ktor:ktor-client-mock:$ktor_version")
|
|
testImplementation("io.ktor:ktor-client-mock-jvm:$ktor_version")
|
|
testImplementation("org.koin:koin-test:$koinVersion")
|
|
testImplementation("io.mockk:mockk:1.9")
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.5.0")
|
|
testImplementation("org.amshove.kluent:kluent:1.4")
|
|
testImplementation("io.cucumber:cucumber-java8:4.3.1")
|
|
testImplementation("io.cucumber:cucumber-junit:4.3.1")
|
|
}
|