crypto test cli
This commit is contained in:
@@ -163,4 +163,16 @@ task printSourceSets {
|
|||||||
println " Output dir : ${srcSet.output.classesDirs.asPath}"
|
println " Output dir : ${srcSet.output.classesDirs.asPath}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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