Last active
May 17, 2023 17:23
-
-
Save brokenpylons/b1b3a61827dec5389ea1f102ef8d2d1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| plugins { | |
| kotlin("jvm") version "1.8.0" | |
| application | |
| } | |
| group = "org.example" | |
| version = "1.0-SNAPSHOT" | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| implementation("org.antlr:antlr4-runtime:4.12.0") // Dodate ANTLR runtime knjižnico | |
| testImplementation(kotlin("test")) | |
| } | |
| // Dodate pot do generirane mape "gen" | |
| sourceSets.main { | |
| java.srcDirs("src/main/gen") | |
| } | |
| tasks.test { | |
| useJUnitPlatform() | |
| } | |
| kotlin { | |
| jvmToolchain(8) | |
| } | |
| application { | |
| mainClass.set("MainKt") | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment