Add build.gradle.kts to module devlok-databases and devlok-redis

This commit is contained in:
Weapie 2024-07-06 16:51:40 +02:00
parent 99dfee7bf8
commit 966c131579
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,24 @@
dependencies {
implementation(libs.mongodb)
implementation(libs.mysql)
compileOnly(libs.gson)
api(project(":devlok-utils"))
api(project(":devlok-files"))
testImplementation(libs.gson)
testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.shadowJar {
dependsOn(":devlok-utils:shadowJar")
dependsOn(":devlok-files:shadowJar")
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}

View File

@ -0,0 +1,22 @@
dependencies {
implementation(libs.redis)
api(project(":devlok-utils"))
api(project(":devlok-files"))
testImplementation(libs.gson)
testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.shadowJar {
dependsOn(":devlok-utils:shadowJar")
dependsOn(":devlok-files:shadowJar")
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}