blob: 0743329056deecc8e7eab529ac1a1ef06820db9e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
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"
}
}
|