-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.gradle
59 lines (51 loc) · 1.68 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
plugins {
id "java"
id "application"
}
application {
mainClassName = "wearblackallday.seedcandy.SeedCandy"
archivesBaseName = "SeedCandy"
version = "1.5.9"
}
repositories {
mavenCentral()
maven { url "https://maven.seedfinding.com" }
maven { url "https://maven.latticg.com" }
maven { url "https://jitpack.io" }
}
dependencies {
implementation("com.seedfinding:mc_biome:1.171.1") {transitive(false)}
implementation("com.seedfinding:mc_core:1.192.1") {transitive(false)}
implementation("com.seedfinding:mc_feature:1.171.1") {transitive(false)}
implementation("com.seedfinding:mc_math:1.171.0") {transitive(false)}
implementation("com.seedfinding:mc_noise:1.171.1") {transitive(false)}
implementation("com.seedfinding:mc_reversal:1.171.1") {transitive(false)}
implementation("com.seedfinding:mc_seed:1.171.1") {transitive(false)}
implementation("com.seedfinding:latticg:1.06") {transitive(false)}
implementation "com.github.WearBlackAllDay:JavaUtils:0.0.3"
implementation "com.formdev:flatlaf:3.0"
implementation "com.formdev:flatlaf-intellij-themes:3.0"
testImplementation "org.junit.jupiter:junit-jupiter:5.9.0"
}
task fatJar(type: Jar) {
manifest {
attributes(
"Main-Class": "$mainClassName"
)
}
outputs.upToDateWhen { false }
exclude("META-INF/LICENSE", "META-INF/versions/**", "module-info.class")
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
artifacts {
archives fatJar
}