crypto test cli

This commit is contained in:
Rinjae
2026-01-16 22:10:21 +09:00
parent 9eef6075c1
commit 359af7ec5c
+4
View File
@@ -171,6 +171,10 @@ task cryptoCli(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
// SafeDB 라이브러리 경로 추가 (리눅스)
classpath += files("/safedb/JavaAPI/config")
classpath += fileTree(dir: "/safedb/JavaAPI/lib", include: ["*.jar"])
// CLI 인자 전달: ./gradlew cryptoCli --args="bcrypt hash password123"
if (project.hasProperty('args')) {
args project.args.split('\\s+')