-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (36 loc) · 1023 Bytes
/
build.gradle
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 'java'
id 'application'
id "org.xbib.gradle.plugin.jflex" version "1.6.0"
id "cup.gradle.cup-gradle-plugin" version "2.0"
id "com.github.johnrengelman.shadow" version "7.1.2"
}
group 'me.lightquantum'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
application {
mainClass = 'simpl.interpreter.Interpreter'
}
shadowJar {
archiveBaseName.set('SimPL')
archiveClassifier.set('')
archiveVersion.set('')
destinationDirectory.set(file('dist/'))
minimize()
}
dependencies {
implementation 'de.jflex:cup_runtime:11b-20160615'
implementation 'org.jetbrains:annotations:23.0.0'
implementation 'org.glavo.kala:kala-common:0.39.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}
test {
useJUnitPlatform()
}
cup {
args = ["-parser", "Parser", "-symbols", "Symbols", "-interface"]
}