Skip to content

Commit

Permalink
Experimental support for loom 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed May 30, 2024
1 parent 09102ce commit 51a7899
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish 1.6
on:
push:
branches:
- "dev/1.6"
- "dev/1.7"

jobs:
build:
Expand Down
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

group 'net.legacyfabric'
base.archivesName = project.name
def baseVersion = '1.6'
def baseVersion = '1.7'

def ENV = System.getenv()
if (ENV.GITHUB_RUN_NUMBER) {
Expand All @@ -30,9 +30,10 @@ dependencies {
implementation("com.google.code.gson:gson:2.10.1")
implementation("com.google.guava:guava:33.0.0-jre")

implementation("net.fabricmc:fabric-loom:${baseVersion}-SNAPSHOT")
// implementation("net.fabricmc:fabric-loom:${baseVersion}-SNAPSHOT")
implementation("net.fabricmc:fabric-loom:${baseVersion}.0-alpha.5")
// needed for 'validatePlugins' task, same version as used by fabric-loom
compileOnly("net.fabricmc:mapping-io:0.5.1")
compileOnly("net.fabricmc:mapping-io:0.6.1")
}

jar {
Expand Down
4 changes: 2 additions & 2 deletions test-mod/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "fabric-loom" version "1.6-SNAPSHOT"
id "fabric-loom" version "1.7.0-alpha.5"
id "legacy-looming"
id "maven-publish"
}
Expand All @@ -23,7 +23,7 @@ loom {
}

legacyLooming {
// useLFIntermediary.set(false)
// intermediaryVersion.set(2)
}

dependencies {
Expand Down

0 comments on commit 51a7899

Please sign in to comment.