From 47d54ade518906bf5fa052e7eeb51d3f324bfac3 Mon Sep 17 00:00:00 2001 From: Mehrad Nayyeri Date: Thu, 20 Apr 2023 15:37:47 +0330 Subject: [PATCH] Preparing for the next version --- .github/workflows/build.yml | 40 ------------------------------------- build.gradle | 8 +++----- gradle.properties | 10 +++++----- 3 files changed, 8 insertions(+), 50 deletions(-) delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 2ca3795..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,40 +0,0 @@ -# Automatically build the project and run any configured tests for every push -# and submitted pull request. This can help catch issues that only occur on -# certain platforms or Java versions, and provides a first line of defence -# against bad commits. - -name: build -on: [pull_request, push] - -jobs: - build: - strategy: - matrix: - # Use these Java versions - java: [ - 17, # Current Java LTS & minimum supported by Minecraft - ] - # and run on both Linux and Windows - os: [ubuntu-22.04, windows-2022] - runs-on: ${{ matrix.os }} - steps: - - name: checkout repository - uses: actions/checkout@v3 - - name: validate gradle wrapper - uses: gradle/wrapper-validation-action@v1 - - name: setup jdk ${{ matrix.java }} - uses: actions/setup-java@v3 - with: - java-version: ${{ matrix.java }} - distribution: 'microsoft' - - name: make gradle wrapper executable - if: ${{ runner.os != 'Windows' }} - run: chmod +x ./gradlew - - name: build - run: ./gradlew build - - name: capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS - uses: actions/upload-artifact@v3 - with: - name: Artifacts - path: build/libs/ \ No newline at end of file diff --git a/build.gradle b/build.gradle index 48b08a3..671d736 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,6 @@ plugins { id 'fabric-loom' version '1.1-SNAPSHOT' id 'maven-publish' - } sourceCompatibility = JavaVersion.VERSION_17 @@ -26,11 +25,10 @@ repositories { dependencies { minecraft "com.mojang:minecraft:${project.minecraft_version}" - mappings loom.officialMojangMappings() - /*mappings loom.layered() { + mappings loom.layered() { officialMojangMappings() - parchment("org.parchmentmc.data:parchment-${project.minecraft_version}:${project.parchment_version}@zip") - }*/ + parchment("org.parchmentmc.data:parchment-${project.parchment_version}@zip") + } implementation "com.github.LlamaLad7:MixinExtras:${project.mixin_extras_version}" annotationProcessor "com.github.LlamaLad7:MixinExtras:${project.mixin_extras_version}" diff --git a/gradle.properties b/gradle.properties index 67b2a37..584265d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,15 +5,15 @@ org.gradle.parallel=true # Fabric Properties # check these on https://fabricmc.net/develop minecraft_version=1.19.4 -#parchment_version=2023.02.26 -loader_version=0.14.17 +parchment_version=1.19.3:2023.03.12 +loader_version=0.14.19 # Mod Properties -mod_version=0.7.0 +mod_version=0.8.0 maven_group=ir.mehradn archives_base_name=rollback # Dependencies mixin_extras_version=0.1.1 -fabric_version=0.76.0+1.19.4 -midnightlib_version=1.2.1-fabric +fabric_version=0.78.0+1.19.4 +midnightlib_version=1.3.0-fabric