Skip to content

Commit

Permalink
JarJar changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GirafiStudios committed Dec 11, 2023
1 parent de43803 commit 6e57c68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 1 addition & 5 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,10 @@ dependencies {
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
compileOnly project(":common")

implementation fg.deobf("mysticdrew:common-networking-forge:${common_networking}-${minecraft_version}")
implementation fg.deobf("mysticdrew:common-networking-forge:${common_networking}-${minecraft_version}")
jarJar group: 'mysticdrew', name: 'common-networking-neoforge', version: '[1.0.1, 5.0.0)'
}

reobf {
jarJar {}
}

tasks.withType(JavaCompile).configureEach {
source(project(":common").sourceSets.main.allSource)
}
Expand Down
6 changes: 5 additions & 1 deletion neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies {
implementation "net.neoforged:neoforge:${neoforge_version}"
compileOnly project(":common")

implementation "mysticdrew:common-networking-neoforge:${common_networking}-${minecraft_version}"
implementation "mysticdrew:common-networking-neoforge:${common_networking}-${minecraft_version}"
jarJar group: 'mysticdrew', name: 'common-networking-neoforge', version: '[1.0.1, 5.0.0)'
}

Expand All @@ -64,6 +64,10 @@ tasks.withType(ProcessResources).matching(notNeoTask).configureEach {
from project(":common").sourceSets.main.resources
}

tasks.jarJar.configure {
archiveClassifier.set("")
}

tasks.named("build").configure {
dependsOn("jarJar")
}

0 comments on commit 6e57c68

Please sign in to comment.