Merge remote-tracking branch 'origin/1.19.2' into 1.19.4

This commit is contained in:
embeddedt 2023-05-02 11:20:58 -04:00
commit 7ca647b763
No known key found for this signature in database
GPG Key ID: A69433EC199B5613
6 changed files with 18 additions and 7 deletions

View File

@ -22,9 +22,5 @@ jobs:
run: ./gradlew --no-daemon build run: ./gradlew --no-daemon build
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: Forge name: Package
path: forge/build/libs path: bin
- uses: actions/upload-artifact@v2
with:
name: Fabric
path: fabric/build/libs

1
.gitignore vendored
View File

@ -77,7 +77,6 @@ fabric.properties
### Eclipse ### ### Eclipse ###
*.pydevproject *.pydevproject
.metadata .metadata
bin/
tmp/ tmp/
*.tmp *.tmp
*.bak *.bak

1
bin/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.jar

View File

@ -157,6 +157,7 @@ public class ModernFixEarlyConfig {
this.configFile = file; this.configFile = file;
this.scanForAndBuildMixinOptions(); this.scanForAndBuildMixinOptions();
mixinOptions.addAll(DEFAULT_SETTING_OVERRIDES.keySet());
for(String optionName : mixinOptions) { for(String optionName : mixinOptions) {
boolean defaultEnabled = DEFAULT_SETTING_OVERRIDES.getOrDefault(optionName, true); boolean defaultEnabled = DEFAULT_SETTING_OVERRIDES.getOrDefault(optionName, true);
this.options.putIfAbsent(optionName, new Option(optionName, defaultEnabled, false)); this.options.putIfAbsent(optionName, new Option(optionName, defaultEnabled, false));

View File

@ -61,6 +61,13 @@ remapJar {
classifier null classifier null
} }
task copyJarToBin(type: Copy) {
from remapJar // shortcut for createJar.outputs.files
into rootProject.file("bin")
}
tasks.build.dependsOn(copyJarToBin)
jar { jar {
classifier "dev" classifier "dev"
} }

View File

@ -79,6 +79,13 @@ remapJar {
classifier null classifier null
} }
task copyJarToBin(type: Copy) {
from remapJar // shortcut for createJar.outputs.files
into rootProject.file("bin")
}
tasks.build.dependsOn(copyJarToBin)
jar { jar {
classifier "dev" classifier "dev"
manifest { manifest {