Merge remote-tracking branch 'origin/main' into 1.18

This commit is contained in:
embeddedt 2023-05-02 11:19:38 -04:00
commit 5a3d519bab
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
- uses: actions/upload-artifact@v2
with:
name: Forge
path: forge/build/libs
- uses: actions/upload-artifact@v2
with:
name: Fabric
path: fabric/build/libs
name: Package
path: bin

1
.gitignore vendored
View File

@ -77,7 +77,6 @@ fabric.properties
### Eclipse ###
*.pydevproject
.metadata
bin/
tmp/
*.tmp
*.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.scanForAndBuildMixinOptions();
mixinOptions.addAll(DEFAULT_SETTING_OVERRIDES.keySet());
for(String optionName : mixinOptions) {
boolean defaultEnabled = DEFAULT_SETTING_OVERRIDES.getOrDefault(optionName, true);
this.options.putIfAbsent(optionName, new Option(optionName, defaultEnabled, false));

View File

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

View File

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