Skip to content

Instantly share code, notes, and snippets.

@brokenpylons
Last active May 17, 2023 17:23
Show Gist options
  • Select an option

  • Save brokenpylons/b1b3a61827dec5389ea1f102ef8d2d1a to your computer and use it in GitHub Desktop.

Select an option

Save brokenpylons/b1b3a61827dec5389ea1f102ef8d2d1a to your computer and use it in GitHub Desktop.
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