plugins { id 'org.javacc.javacc' version '4.0.3' } [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' eclipse.project.name = appName + '-core' // JavaCC/JJTree configuration def jjtreeOutputDir = layout.buildDirectory.dir('generated/sources/jjtree') def javaccOutputDir = layout.buildDirectory.dir('generated/sources/javacc') def javaccPackageDir = layout.buildDirectory.dir('generated/sources/javacc/coffee/liz/lambda/parser') sourceSets { main { java { srcDirs javaccOutputDir } } } compileJjtree { inputDirectory = file('src/main/java/coffee/liz/lambda/parser') outputDirectory = jjtreeOutputDir.get().asFile } compileJavacc { outputDirectory = javaccPackageDir.get().asFile dependsOn compileJjtree } dependencies { api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" api "com.badlogicgames.gdx:gdx:$gdxVersion" api "com.kotcrab.vis:vis-ui:$visUiVersion" // Log4j logging implementation 'org.apache.logging.log4j:log4j-api:2.25.3' implementation 'org.apache.logging.log4j:log4j-core:2.25.3' implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.25.3' if(enableGraalNative == 'true') { implementation "io.github.berstanio:gdx-svmhelper-annotations:$graalHelperVersion" } }