Updated examples.

This commit is contained in:
Erik C. Thauvin 2021-06-20 01:31:52 -07:00
parent a704b955dc
commit 2ef72938f2
9 changed files with 110 additions and 45 deletions

View file

@ -6,6 +6,8 @@ plugins {
// ./gradlew run
// ./gradlew runJava
// ./gradlew run --args="btc"
// ./gradlew runJava --args="eth eur"
defaultTasks(ApplicationPlugin.TASK_RUN_NAME)
@ -26,7 +28,7 @@ application {
tasks {
register<JavaExec>("runJava") {
group = "application"
main = "com.example.CryptoPriceSample"
mainClass.set("com.example.CryptoPriceSample")
classpath = sourceSets.main.get().runtimeClasspath
}
}