Skip to content

Commit

Permalink
Remove unnecessary JarJar setup
Browse files Browse the repository at this point in the history
robotgryphon committed May 11, 2024
1 parent b285c01 commit d72c305
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions neoforge/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -31,8 +31,6 @@ java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}

jarJar.enable()

sourceSets.main {
java {
srcDir("src/main/java")
@@ -198,21 +196,10 @@ tasks.withType<ProcessResources>().configureEach {
}
}

tasks.jar {
archiveClassifier.set("slim")
from(sourceSets.main.get().output)
}

tasks.jarJar {
archiveClassifier.set("")
from(sourceSets.main.get().output)
}

val PACKAGES_URL = System.getenv("GH_PKG_URL") ?: "https://maven.pkg.github.com/compactmods/simplehoney"
publishing {
publications.register<MavenPublication>("simplehoney") {
artifactId = "$modId-neoforge"
this.artifact(tasks.jarJar)
from(components.getByName("java"))
}

0 comments on commit d72c305

Please sign in to comment.