-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
47 lines (36 loc) · 857 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
45
46
47
plugins {
id 'application'
id 'java'
id 'org.openjfx.javafxplugin' version '0.0.13'
}
group = "io.github.tkaden4"
version = "0.0.1"
javafx {
version = "20"
modules = ["javafx.web", "javafx.controls", "javafx.fxml"]
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation files('libs/jmetro-11.6.16.jar')
implementation 'com.google.guava:guava:31.1-jre'
}
application {
mainClass = "Main"
}
mainClassName = 'Main'
task fatJar(type: Jar) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes 'Main-Class': "${mainClassName}"
}
archiveBaseName = "${rootProject.name}"
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}