crypto test cli
This commit is contained in:
@@ -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+')
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user