exposed-crypt/build.gradle.kts (31 lines of code) (raw):
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm")
alias(libs.plugins.dokka)
}
repositories {
mavenCentral()
}
kotlin {
jvmToolchain(17)
}
dependencies {
api(project(":exposed-core"))
api(libs.spring.security.crypto)
testImplementation(project(":exposed-dao"))
testImplementation(project(":exposed-tests"))
testImplementation(project(":exposed-jdbc"))
testImplementation(libs.junit6)
testRuntimeOnly(libs.junit.platform.launcher)
testImplementation(kotlin("test"))
testImplementation(libs.logcaptor)
}
tasks.withType<KotlinCompile>().configureEach {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
}
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}