cv-api/build.gradle.kts

36 lines
700 B
Plaintext
Raw Normal View History

2022-09-30 10:21:11 +00:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2022-09-30 13:57:03 +00:00
2022-09-30 10:21:11 +00:00
plugins {
2022-09-30 13:57:03 +00:00
id("com.squareup.sqldelight")
2022-09-30 10:21:11 +00:00
kotlin("jvm") version "1.7.10"
}
2022-09-30 13:57:03 +00:00
group = "fr.louveauAmine"
2022-09-30 10:21:11 +00:00
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testImplementation(kotlin("test"))
implementation("io.javalin:javalin:4.6.4")
implementation("org.slf4j:slf4j-simple:2.0.1")
2022-09-30 13:57:03 +00:00
implementation("com.squareup.sqldelight:sqlite-driver:1.5.3")
2022-09-30 10:21:11 +00:00
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
2022-09-30 13:57:03 +00:00
}
sqldelight {
database("CVApiDB") {
packageName = "fr.louveauAmine.cvApi.dao"
sourceFolders = listOf("sqldelight")
}
2022-09-30 10:21:11 +00:00
}