Skip to content

Commit

Permalink
📸 Fix Jitpack builds by publishing to mavenLocal 📸
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarzelcow committed Sep 24, 2022
1 parent bd74d59 commit 03f8448
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {
}

loom {
setIntermediaryUrl('https://maven.legacyfabric.net/net/fabricmc/intermediary/%1$s/intermediary-%1$s-v2.jar');
setIntermediaryUrl('https://maven.legacyfabric.net/net/fabricmc/intermediary/%1$s/intermediary-%1$s-v2.jar')
// Only needed for versions not available from vanilla launcher by default.
// customMinecraftManifest.set("https://meta.legacyfabric.net/v2/manifest/${minecraft_version}")

Expand All @@ -34,6 +34,7 @@ loom {
}

import org.gradle.internal.os.OperatingSystem

project.ext.lwjglVersion = "3.3.1"
switch (OperatingSystem.current()) {
case OperatingSystem.LINUX:
Expand Down Expand Up @@ -115,6 +116,6 @@ publishing {
// select the repositories you want to publish to
repositories {
// uncomment to publish to the local maven
// mavenLocal()
mavenLocal()
}
}

0 comments on commit 03f8448

Please sign in to comment.