crypto test cli

This commit is contained in:
Rinjae
2026-01-16 21:27:56 +09:00
parent 59310f5de2
commit 9eef6075c1
+12
View File
@@ -164,3 +164,15 @@ task printSourceSets {
} }
} }
} }
// CryptoCli 실행 task (bcrypt 지원)
task cryptoCli(type: JavaExec) {
mainClass = 'com.eactive.ext.kjb.safedb.CryptoCli'
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
// CLI 인자 전달: ./gradlew cryptoCli --args="bcrypt hash password123"
if (project.hasProperty('args')) {
args project.args.split('\\s+')
}
}