Skip to content

Commit

Permalink
Prism: Use included forgePatches jar instead of downloading from Nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenraven committed Jan 27, 2024
1 parent ed7926b commit 126293f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions addon.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,12 @@ def forgePatchesJar = tasks.register(forgePatchesSet.jarTaskName, Jar) {
}

def mmcInstanceFilesZip = tasks.register("mmcInstanceFiles", Zip) {
dependsOn(forgePatchesJar)
archiveClassifier.set("multimc")
from(new File(projectDir, "prism-libraries/"))
from(forgePatchesJar) {
into("libraries/")
}
exclude("forgepatches-for-dev-work.json", "META-INF", "META-INF/**")
filesMatching(["mmc-pack.json", "patches/me.eigenraven.lwjgl3ify.forgepatches.json"]) {
expand "version": project.version,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"libraries": [
{
"name": "com.github.GTNewHorizons:lwjgl3ify:${version}:forgePatches",
"url": "https://nexus.gtnewhorizons.com/repository/public/"
"MMC-hint": "local"
}
]
}

0 comments on commit 126293f

Please sign in to comment.