Skip to content

Commit 8b36278

Browse files
try fixing issue with maven local
1 parent 7572664 commit 8b36278

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,15 @@ tasks.test {
224224
// Example configuration to allow publishing using the maven-publish plugin
225225

226226
//def reobfJarFile = tasks.named('jar').get().archiveFile.get().asFile.absolutePath
227-
tasks.remapJar {
227+
/*tasks.remapJar {
228228
archiveClassifier.set("mapped_official_${minecraft_version}")
229-
}
229+
}*/
230+
230231
publishing {
231232
publications {
232233
mavenJava(MavenPublication) {
233-
artifact(tasks.remapJar) {
234-
classifier = tasks.remapJar.archiveClassifier.get()
235-
}
234+
from components.java
235+
//artifactId = "FormicAPI" // ✅ no spaces or invalid chars
236236
}
237237
}
238238
}

0 commit comments

Comments
 (0)