Don't build alternate flavors by default

Because I'm tired of having to append -PnoAltMixin to the command
every time
This commit is contained in:
makamys committed 2023-10-19 09:51:42 +02:00
1 parent 28e98d501f
commit 9152c1a5ca
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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