safedb 디버깅
This commit is contained in:
+19
-9
@@ -104,6 +104,13 @@ dependencies {
|
||||
|
||||
testRuntimeOnly 'com.h2database:h2:2.1.214'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
||||
testImplementation 'ch.qos.logback:logback-classic:1.2.10'
|
||||
testImplementation 'ch.qos.logback:logback-access:1.2.10'
|
||||
testImplementation 'ch.qos.logback:logback-core:1.2.10'
|
||||
testImplementation 'org.slf4j:jul-to-slf4j:1.7.35'
|
||||
testImplementation 'org.slf4j:jcl-over-slf4j:1.7.35'
|
||||
testImplementation 'org.slf4j:log4j-over-slf4j:1.7.35'
|
||||
testImplementation 'org.slf4j:slf4j-api:1.7.35'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.8.2'
|
||||
|
||||
@@ -195,14 +202,17 @@ idea {
|
||||
}
|
||||
|
||||
|
||||
tasks.register("safedbTest", Test) {
|
||||
description = "SafeDB 설치된 환경에서 동작 테스트"
|
||||
group = "verification"
|
||||
tasks.test {
|
||||
if (project.hasProperty("safedb")) {
|
||||
println "======================== SafeDB Classpath applied to test task ====================="
|
||||
|
||||
testClassesDirs = sourceSets.test.output.classesDirs
|
||||
classPath = sourceSets.test.runtimeClasspath
|
||||
classPath += files(
|
||||
"/safedb/JavaAPI/config/",
|
||||
"/safedb/JavaAPI/lib/*"
|
||||
)
|
||||
classpath += files(
|
||||
"/safedb/JavaAPI/config/",
|
||||
"/safedb/JavaAPI/lib/*"
|
||||
)
|
||||
|
||||
println "classpath : ${classpath}"
|
||||
|
||||
systemProperty "safedb", project.property("safedb")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user