-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
40 lines (31 loc) · 926 Bytes
/
build.gradle.kts
File metadata and controls
40 lines (31 loc) · 926 Bytes
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
plugins {
id("java")
antlr
id("com.gradleup.shadow") version ("8.3.0")
}
group = "com.cleanroommc.ksmlc"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
dependencies {
shadow("org.antlr:antlr4-runtime:4.5") {
isTransitive = false
}
antlr("org.antlr:antlr4:4.5")
implementation("org.anarres:jcpp:1.4.14")
shadow("org.anarres:jcpp:1.4.14") {
isTransitive = false
}
implementation("com.github.ChAoSUnItY:Nenggao:1.4.2")
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
tasks.generateGrammarSource {
arguments.addAll(listOf("-visitor", "-package", "com.cleanroommc.ksmlc.glsl.grammar"))
outputDirectory = file("build/generated-src/antlr/main/com/cleanroommc/ksmlc/glsl/grammar/")
}
tasks.test {
useJUnitPlatform()
}