Skip to content

Commit b3223f8

Browse files
committed
Update build.gradle
1 parent 5a374ff commit b3223f8

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

build.gradle

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ plugins {
44
}
55

66
def group = 'fun.supersmp'
7-
def version = '1.2.0'
87
def id = 'CodeLock'
98

109
repositories {
@@ -49,6 +48,7 @@ dependencies {
4948
exclude group: 'org.geysermc.cumulus', module: 'cumulus'
5049
}
5150

51+
implementation("games.negative.alumina:alumina:2.4.2")
5252
}
5353

5454
def targetJavaVersion = 17
@@ -69,3 +69,17 @@ tasks.withType(JavaCompile).configureEach {
6969
}
7070
}
7171

72+
tasks {
73+
build {
74+
dependsOn(shadowJar)
75+
}
76+
}
77+
78+
shadowJar {
79+
archiveBaseName.set("${id}")
80+
archiveClassifier.set("")
81+
archiveVersion.set("")
82+
83+
relocate "games.negative.alumina", "${group}.libs.alumina"
84+
}
85+

0 commit comments

Comments
 (0)