/* * This file was generated by the Gradle 'init' task. * * This generated file contains a sample Java application project to get you started. * For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle * User Manual available at https://docs.gradle.org/7.6/userguide/building_java_projects.html */ plugins { // Apply the application plugin to add support for building a CLI application in Java. antlr application } java { toolchain { languageVersion.set(JavaLanguageVersion.of(19)) } } repositories { // Use Maven Central for resolving dependencies. mavenCentral() } dependencies { // Use JUnit test framework. testImplementation("junit:junit:4.13.2") // This dependency is used by the application. implementation("com.google.guava:guava:31.1-jre") implementation("commons-io:commons-io:2.6") implementation("org.reflections:reflections:0.9.11") implementation("org.ow2.asm:asm:7.0") //implementation("org.antlr:antlr4:4.11.1") antlr("org.antlr:antlr4:4.8-1") } tasks.withType { options.compilerArgs.add("--enable-preview") } tasks.withType { jvmArgs("--enable-preview") } tasks.withType { jvmArgs("--enable-preview") } application { // Define the main class for the application. mainClass.set("de.dhbwstuttgart.App") }