Implement the Scanner

This commit is contained in:
ctsk
2022-09-03 20:22:29 +02:00
parent 9510b57e11
commit 6dd507d76a
6 changed files with 314 additions and 8 deletions

View File

@@ -15,10 +15,20 @@ dependencies {
}
application {
mainClass.set("xyz.ctsk.jlox.Hello")
mainClass.set("xyz.ctsk.lox.Lox")
}
tasks.jar {
manifest {
attributes(mapOf("Main-Class" to "xyz.ctsk.lox.Lox"))
}
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
tasks.named<JavaExec>("run") {
standardInput = System.`in`
}