We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f82fb3 commit 7572664Copy full SHA for 7572664
build.gradle
@@ -224,13 +224,14 @@ tasks.test {
224
// Example configuration to allow publishing using the maven-publish plugin
225
226
//def reobfJarFile = tasks.named('jar').get().archiveFile.get().asFile.absolutePath
227
-
+tasks.remapJar {
228
+ archiveClassifier.set("mapped_official_${minecraft_version}")
229
+}
230
publishing {
231
publications {
232
mavenJava(MavenPublication) {
- from components.java
- artifact(tasks.jar) {
233
- classifier = "all"
+ artifact(tasks.remapJar) {
234
+ classifier = tasks.remapJar.archiveClassifier.get()
235
}
236
237
0 commit comments