From f309aa02dd339b79030bfeb751b2b3ad3c9a777f Mon Sep 17 00:00:00 2001 From: hibi <69405847+hibiii@users.noreply.github.com> Date: Sun, 18 Jun 2023 13:32:25 -0300 Subject: [PATCH] Fix build issues --- README.md | 2 ++ platform-quilt-1.18/build.gradle | 2 +- platform-quilt-1.19.3/build.gradle | 2 +- platform-quilt-1.19/build.gradle | 2 +- platform-quilt-1.20.1/build.gradle | 2 +- platform-quilt-1.20.1/gradle.properties | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8924146..b2c69bc 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ Blåhaj Mod doesn't have a very well structured build system — in fact, each m cd platform-${loader}-${version} ./gradlew build +If you'd like a one-liner that builds everything, then `for platform in $(ls -d platform-*); do pushd "$platform"; ./gradlew build; popd; done` on the root of the project (POSIX sh only or compatible). + Inspired by [Unascribed's Ears](https://git.sleeping.town/unascribed/Ears). ## License diff --git a/platform-quilt-1.18/build.gradle b/platform-quilt-1.18/build.gradle index 221355f..0bc5351 100644 --- a/platform-quilt-1.18/build.gradle +++ b/platform-quilt-1.18/build.gradle @@ -34,7 +34,7 @@ dependencies { processResources { inputs.property "version", version - filesMatching('quilt.mod.json') { + filesMatching('*.mod.json') { expand "version": version } } diff --git a/platform-quilt-1.19.3/build.gradle b/platform-quilt-1.19.3/build.gradle index 0ee2441..16cfc7e 100644 --- a/platform-quilt-1.19.3/build.gradle +++ b/platform-quilt-1.19.3/build.gradle @@ -31,7 +31,7 @@ dependencies { processResources { inputs.property "version", version - filesMatching('quilt.mod.json') { + filesMatching('*.mod.json') { expand "version": version } } diff --git a/platform-quilt-1.19/build.gradle b/platform-quilt-1.19/build.gradle index 221355f..0bc5351 100644 --- a/platform-quilt-1.19/build.gradle +++ b/platform-quilt-1.19/build.gradle @@ -34,7 +34,7 @@ dependencies { processResources { inputs.property "version", version - filesMatching('quilt.mod.json') { + filesMatching('*.mod.json') { expand "version": version } } diff --git a/platform-quilt-1.20.1/build.gradle b/platform-quilt-1.20.1/build.gradle index 0ee2441..16cfc7e 100644 --- a/platform-quilt-1.20.1/build.gradle +++ b/platform-quilt-1.20.1/build.gradle @@ -31,7 +31,7 @@ dependencies { processResources { inputs.property "version", version - filesMatching('quilt.mod.json') { + filesMatching('*.mod.json') { expand "version": version } } diff --git a/platform-quilt-1.20.1/gradle.properties b/platform-quilt-1.20.1/gradle.properties index 8ed1140..24d67e8 100644 --- a/platform-quilt-1.20.1/gradle.properties +++ b/platform-quilt-1.20.1/gradle.properties @@ -4,6 +4,6 @@ org.gradle.parallel = true # Mod Properties maven_group = hibi -archives_base_name = blahaj-quilt-1.19.3 +archives_base_name = blahaj-quilt-1.20.1 # Dependencies are managed at gradle/libs.versions.toml