mirror of
https://github.com/LegacyModdingMC/UniMixins.git
synced 2026-10-26 14:34:00 +00:00
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:
1 parent
28e98d501f
commit
9152c1a5ca
3 files changed
+3
-3
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user