-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
38 lines (31 loc) · 1 KB
/
build.gradle.kts
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
plugins {
java
id("cup.gradle.cup-gradle-plugin") version "2.0"
id("org.xbib.gradle.plugin.jflex") version "1.5.0"
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
google()
}
sourceSets["main"].java {
srcDir("src/main/cup")
srcDir("src/main/jflex")
}
dependencies {
compileOnly("org.projectlombok", "lombok", "1.18.24")
annotationProcessor("org.projectlombok", "lombok", "1.18.24")
implementation("info.picocli", "picocli", "4.6.2")
annotationProcessor("info.picocli", "picocli-codegen", "4.6.2")
implementation("org.jetbrains", "annotations", "23.0.0")
implementation("com.google.guava", "guava", "31.1-jre")
implementation("org.jgrapht", "jgrapht-core", "1.5.1")
implementation("org.apache.httpcomponents", "httpclient", "4.5.13")
implementation("org.apache.commons", "commons-lang3", "3.12.0")
testImplementation("junit", "junit", "4.12")
}
tasks.cupCompile {
dependsOn(tasks.clean)
finalizedBy(tasks.build)
}