Skip to content

Commit 8b6aa38

Browse files
committed
rename build
1 parent 53e4d87 commit 8b6aa38

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle

+10
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ jar {
6161
}
6262
}
6363

64+
tasks.named('remapJar') {
65+
def minecraftVersion = project.minecraft_version
66+
def modVersion = project.mod_version
67+
def namespace = project.archives_base_name
68+
69+
archiveBaseName.set("${namespace}-${minecraftVersion}-v${modVersion}")
70+
71+
archiveVersion.set("")
72+
}
73+
6474
// configure the maven publication
6575
publishing {
6676
publications {

0 commit comments

Comments
 (0)