-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (59 loc) · 1.67 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.8'
id 'antlr'
id "com.github.johnrengelman.shadow" version "7.1.2"
}
group = 'de.uni-bamberg.pi'
version = '0.0.1-SNAPSHOT'
description = """testcasegenerator"""
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
repositories {
mavenCentral()
}
dependencies {
implementation group: 'com.google.code.gson', name: 'gson', version: '2.7'
implementation group: 'com.github.curious-odd-man', name: 'rgxgen', version: '1.3'
implementation group: 'com.amazonaws', name: 'aws-java-sdk-lambda', version: '1.12.30'
implementation group: 'com.amazonaws', name: 'aws-java-sdk-logs', version: '1.12.30'
implementation group: 'com.amazonaws', name: 'aws-java-sdk-cloudwatch', version: '1.12.30'
implementation 'org.junit.jupiter:junit-jupiter:5.8.2'
implementation 'commons-cli:commons-cli:1.5.0'
antlr "org.antlr:antlr4:4.5"
}
/*
generateGrammarSource {
maxHeapSize = "64m"
arguments += ["-visitor", "-long-messages"]
doLast {
println "Copying generated grammar lexer/parser files to main directory."
copy {
from "${buildDir}/generated-src/antlr/main"
into "src/main/java/antlr"
}
}
}
*/
javafx {
version = "17"
modules = [ 'javafx.base', 'javafx.controls', 'javafx.fxml' ]
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked"
}
}
jar {
manifest {
attributes 'Main-Class': 'gui.view.MainApp'
}
}
mainClassName = 'gui.view.Main'