diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c616ebf..3642aec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Set up Gradle build run: ./gradlew setupCIWorkspace - name: Build with Gradle - run: ./gradlew build -PnoAltMixin + run: ./gradlew build - name: Copy artifacts to a single directory run: | mkdir build/tmp/ci -p diff --git a/README.md b/README.md index fccdc9b..43b732e 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ When editing the source code of modules, please document your changes in the mod ### Build flags * `-Plocal`: use the locally built version of `unimix` when building the Mixin module. * Invoke `./gradlew publishToMavenLocal` in the UniMix repo first to install a local build. -* `-PnoAltMixin`: do not build alternate flavors of the Mixin module, only UniMix. Used by the release workflow. +* `-PenableAltMixin`: build alternate flavors of the Mixin module, not just UniMix. ### Roadmap diff --git a/module-mixin/build.gradle b/module-mixin/build.gradle index 6e559b6..0b9ada8 100644 --- a/module-mixin/build.gradle +++ b/module-mixin/build.gradle @@ -26,7 +26,7 @@ dependencies { apply plugin: "com.github.johnrengelman.shadow" -def flavors = (project.hasProperty("noAltMixin") ? [] : ["spongepowered", "fabric", "gasmix", "gtnh"]) + ["unimix"] +def flavors = (!project.hasProperty("enableAltMixin") ? [] : ["spongepowered", "fabric", "gasmix", "gtnh"]) + ["unimix"] flavors.each { def mixinFlavor = it