Update to Loom 1.1 ()

(cherry picked from commit eff3bcb77a)
This commit is contained in:
modmuss50 2023-01-31 08:54:35 +00:00
parent a1ccd7bfed
commit 683b8893da
5 changed files with 10 additions and 19 deletions

View file

@ -10,7 +10,7 @@ jobs:
image: eclipse-temurin:${{ matrix.java }}
options: --user root
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: gradle/wrapper-validation-action@v1
@ -20,15 +20,15 @@ jobs:
with:
reports: |
**/build/reports/checkstyle/*.xml
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: ./*/build/libs/
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Maven Local
path: /root/.m2/repository
@ -47,7 +47,7 @@ jobs:
uses: modmuss50/xvfb-action@v1
with:
run: ./gradlew runProductionAutoTestClient --stacktrace --warning-mode=fail
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: always()
with:
name: Test Screenshots

View file

@ -8,7 +8,7 @@ jobs:
labels:
runs-on: ubuntu-latest
steps:
- uses: FabricMC/fabric-action-scripts@v1
- uses: FabricMC/fabric-action-scripts@v2
with:
context: ${{ github.event.action }}
label: ${{ github.event.label.name }}

View file

@ -13,10 +13,10 @@ jobs:
steps:
- run: apt update && apt install git -y && git --version
- run: git config --global --add safe.directory /__w/fabric/fabric
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: FabricMC/fabric-action-scripts@v1
- uses: FabricMC/fabric-action-scripts@v2
id: changelog
with:
context: changelog

View file

@ -10,7 +10,7 @@ plugins {
id "idea"
id "maven-publish"
id 'jacoco'
id "fabric-loom" version "1.0.12" apply false
id "fabric-loom" version "1.1.8" apply false
id "com.diffplug.spotless" version "6.11.0"
id "org.ajoberstar.grgit" version "3.1.0"
id "com.matthewprenger.cursegradle" version "1.4.0"
@ -525,16 +525,6 @@ subprojects {
loom.disableDeprecatedPomGeneration(publishing.publications.mavenJava)
javadoc.enabled = false
afterEvaluate {
// Disable the gen sources task on sub projects
genClientOnlySourcesWithFernFlower.enabled = false
genClientOnlySourcesWithCfr.enabled = false
genCommonSourcesWithCfr.enabled = false
genCommonSourcesWithFernFlower.enabled = false
unpickClientOnlyJar.enabled = false
unpickCommonJar.enabled = false
}
}
publishing {

View file

@ -1,5 +1,6 @@
org.gradle.jvmargs=-Xmx2560M
org.gradle.parallel=true
fabric.loom.multiProjectOptimisation=true
version=0.73.1
minecraft_version=23w04a