1.20.2, Dependency updates, JDK level correction. (#272)

* 1.20.2-rc2, Dependency updates, JDK level correction.

* Clarify what SDKMAN will deploy.

* Improve second-liner for jitpack comment.

* Modrinth does not have 1.20.2-rc2 yet.

* Set viaversion dependency to 4.8.0 in fabric.mod.json.

1.20.2 will not work with ViaVersion 4.6.0 - 4.7.1-SNAPSHOT, therefore this part is needed at some point.

* 1.20.2-rc2 -> 1.20.2.

* We use mclo.gs now, not paste.gg.
This commit is contained in:
Kichura 2023-09-21 19:57:20 +02:00 committed by GitHub
parent 957b62620c
commit 0259407fc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 53 additions and 51 deletions

View File

@ -23,7 +23,7 @@ body:
attributes: attributes:
label: Console Error label: Console Error
description: | description: |
If you encounter warnings/errors in your console, **paste them with https://paste.gg/ and put the paste link here**. If you encounter warnings/errors in your console, **paste them with https://mclo.gs/ and put the paste link here**.
If the error is small/less than 10 lines, you may put it directly into this field. If the error is small/less than 10 lines, you may put it directly into this field.
Please use Not Enough Crashes if possible, making the stacktrace easier to understand. Please use Not Enough Crashes if possible, making the stacktrace easier to understand.
value: | value: |

View File

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Validate Gradle Wrapper - name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1 uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17 - name: Set up JDK 17
@ -14,6 +14,7 @@ jobs:
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
check-latest: true
- name: Cache Dependencies - name: Cache Dependencies
uses: actions/cache@v3 uses: actions/cache@v3
with: with:

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Validate Gradle Wrapper - name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1 uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17 - name: Set up JDK 17
@ -15,6 +15,7 @@ jobs:
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
check-latest: true
- name: Build and Publish - name: Build and Publish
env: env:
CURSEFORGE_API_KEY: ${{ secrets.CREEPER_CF }} CURSEFORGE_API_KEY: ${{ secrets.CREEPER_CF }}

View File

@ -10,7 +10,7 @@
Allows the connection to/from different Minecraft versions on your Minecraft client/server (LAN worlds too) Allows the connection to/from different Minecraft versions on your Minecraft client/server (LAN worlds too)
This mod can be installed on 1.8.9, 1.14.4, 1.15.2, 1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.1 with Fabric Loader. This mod can be installed on 1.8.9, 1.14.4, 1.15.2, 1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.2 with Fabric Loader.
## Dependencies ## Dependencies
@ -53,7 +53,7 @@ registry synchronization (fabric-registry-sync mod).
| 1.17.1 client | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ⟲ | ⟲ | ⟲ | | 1.17.1 client | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ⟲ | ⟲ | ⟲ |
| 1.18.2 client | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ⟲ | ⟲ | | 1.18.2 client | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ⟲ | ⟲ |
| 1.19.4 client | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ⟲ | | 1.19.4 client | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ⟲ |
| 1.20.1 client | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | 1.20.2 client | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
✓ = [ViaVersion](https://viaversion.com) ⟲ = [ViaBackwards](https://viaversion.com/backwards) ⏪ ✓ = [ViaVersion](https://viaversion.com) ⟲ = [ViaBackwards](https://viaversion.com/backwards) ⏪
= [ViaRewind](https://viaversion.com/rewind) = [ViaRewind](https://viaversion.com/rewind)

View File

@ -11,9 +11,9 @@ plugins {
id "maven-publish" id "maven-publish"
id "org.ajoberstar.grgit" version "5.2.0" id "org.ajoberstar.grgit" version "5.2.0"
id "com.matthewprenger.cursegradle" version "1.4.0" id "com.matthewprenger.cursegradle" version "1.4.0"
id "com.modrinth.minotaur" version "2.8.1" id "com.modrinth.minotaur" version "2.8.4"
id "fabric-loom" version "1.2-SNAPSHOT" apply false id "fabric-loom" version "1.2-SNAPSHOT" apply false
id "com.github.ben-manes.versions" version "0.47.0" id "com.github.ben-manes.versions" version "0.48.0"
} }
def ENV = System.getenv() def ENV = System.getenv()

View File

@ -1,13 +1,12 @@
# suppress inspection "UnusedProperty" for whole file # suppress inspection "UnusedProperty" for whole file
# rip my ram
org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication
loader_version=0.14.21 loader_version=0.14.22
viaver_version=4.8.0-1.20.2-rc2-SNAPSHOT viaver_version=4.8.0
yaml_version=2.0 yaml_version=2.2
publish_mc_versions=1.20.1, 1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4, 1.8.9 publish_mc_versions=1.20.2, 1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4, 1.8.9
# example: 1.19.1-rc1. Can be a blank value # example: 1.19.1-rc1. Can be a blank value
modrinth_mc_snapshot=1.20.2-rc2 modrinth_mc_snapshot=
# example: 1.19-Snapshot. Can be a blank value # example: 1.19-Snapshot. Can be a blank value
curseforge_mc_snapshot=1.20.2-Snapshot curseforge_mc_snapshot=

16
gradlew vendored
View File

@ -145,7 +145,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #( case $MAX_FD in #(
max*) max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045 # shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) || MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit" warn "Could not query maximum file descriptor limit"
esac esac
@ -153,7 +153,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #( '' | soft) :;; #(
*) *)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045 # shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" || ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD" warn "Could not set maximum file descriptor limit to $MAX_FD"
esac esac
@ -200,13 +200,13 @@ fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' DEFAULT_JVM_OPTS='-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command; # Collect all arguments for the java command:
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of # * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# shell script including quotes and variable substitutions, so put them in # and any embedded shellness will be escaped.
# double quotes to make sure that they get re-expanded; and # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# * put everything else in single quotes, so that it's not re-expanded. # treated as '${Hostname}' itself on the command line.
set -- \ set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \ "-Dorg.gradle.appname=$APP_BASE_NAME" \

2
gradlew.bat vendored
View File

@ -34,7 +34,7 @@ set APP_HOME=%DIRNAME%
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"
@rem Find java.exe @rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome if defined JAVA_HOME goto findJavaFromJavaHome

View File

@ -1,5 +1,6 @@
# Deploys the latest stable JDK available and sets it to default without having to manually specify it here,
# Which includes using temurin as the distribution.
before_install: before_install:
- curl -s "https://get.sdkman.io" | bash - curl -s "https://get.sdkman.io" | bash
- source ~/.sdkman/bin/sdkman-init.sh - source ~/.sdkman/bin/sdkman-init.sh
- sdk install java 17.0.8.1-tem - sdk install java
- sdk use java 17.0.8.1-tem

View File

@ -17,5 +17,5 @@ include("viafabric-mc119")
include("viafabric-mc120") include("viafabric-mc120")
plugins { plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.5.0" id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
} }

View File

@ -13,8 +13,8 @@
}, },
"depends": { "depends": {
"fabricloader": ">=0.14.0", "fabricloader": ">=0.14.0",
"minecraft": ["1.8.9", "1.14.4", "1.15.2", "1.16.5", "1.17.1", "1.18.2", "1.19.4", "1.20.2-rc.2"], "minecraft": ["1.8.9", "1.14.4", "1.15.2", "1.16.5", "1.17.1", "1.18.2", "1.19.4", "1.20.2"],
"viaversion": ">=4.6.0" "viaversion": ">=4.8.0"
}, },
"breaks": { "breaks": {
"viafabricplus": "*" "viafabricplus": "*"

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc118.mixin.address", "package": "com.viaversion.fabric.mc118.mixin.address",
"mixins": [ "mixins": [
], ],

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc118.mixin.debug", "package": "com.viaversion.fabric.mc118.mixin.debug",
"mixins": [ "mixins": [
], ],

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc118.mixin.gui", "package": "com.viaversion.fabric.mc118.mixin.gui",
"mixins": [ "mixins": [
], ],

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc118.mixin.pipeline", "package": "com.viaversion.fabric.mc118.mixin.pipeline",
"mixins": [ "mixins": [
"MixinClientConnection", "MixinClientConnection",

View File

@ -2,8 +2,8 @@ dependencies {
minecraft("com.mojang:minecraft:1.19.4") minecraft("com.mojang:minecraft:1.19.4")
mappings("net.fabricmc:yarn:1.19.4+build.2:v2") mappings("net.fabricmc:yarn:1.19.4+build.2:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.83.0+1.19.4") modImplementation("net.fabricmc.fabric-api:fabric-api:0.87.0+1.19.4")
modImplementation("com.terraformersmc:modmenu:6.2.3") modImplementation("com.terraformersmc:modmenu:6.3.1")
} }
tasks.compileJava { tasks.compileJava {

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc119.mixin.address", "package": "com.viaversion.fabric.mc119.mixin.address",
"mixins": [ "mixins": [
], ],

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc119.mixin.debug", "package": "com.viaversion.fabric.mc119.mixin.debug",
"mixins": [ "mixins": [
], ],

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc119.mixin.gui", "package": "com.viaversion.fabric.mc119.mixin.gui",
"mixins": [ "mixins": [
], ],

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc119.mixin.pipeline", "package": "com.viaversion.fabric.mc119.mixin.pipeline",
"mixins": [ "mixins": [
"MixinClientConnection", "MixinClientConnection",

View File

@ -1,9 +1,9 @@
dependencies { dependencies {
minecraft("com.mojang:minecraft:1.20.2-rc1") minecraft("com.mojang:minecraft:1.20.2")
mappings("net.fabricmc:yarn:1.20.2-rc1+build.3:v2") mappings("net.fabricmc:yarn:1.20.2+build.1:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.86.1+1.20.1") modImplementation("net.fabricmc.fabric-api:fabric-api:0.89.0+1.20.2")
modImplementation("com.terraformersmc:modmenu:7.2.1") modImplementation("com.terraformersmc:modmenu:8.0.0-beta.2")
} }
tasks.compileJava { tasks.compileJava {

View File

@ -40,7 +40,7 @@
}, },
"depends": { "depends": {
"fabric-resource-loader-v0": "*", "fabric-resource-loader-v0": "*",
"minecraft": ["1.20.2-rc.2"], "minecraft": ["1.20.2"],
"viafabric": "*" "viafabric": "*"
}, },
"recommends": { "recommends": {

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc120.mixin.address", "package": "com.viaversion.fabric.mc120.mixin.address",
"mixins": [ "mixins": [
], ],

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc120.mixin.debug", "package": "com.viaversion.fabric.mc120.mixin.debug",
"mixins": [ "mixins": [
], ],

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc120.mixin.gui", "package": "com.viaversion.fabric.mc120.mixin.gui",
"mixins": [ "mixins": [
], ],

View File

@ -1,6 +1,6 @@
{ {
"required": true, "required": true,
"compatibilityLevel": "JAVA_16", "compatibilityLevel": "JAVA_17",
"package": "com.viaversion.fabric.mc120.mixin.pipeline", "package": "com.viaversion.fabric.mc120.mixin.pipeline",
"mixins": [ "mixins": [
"MixinClientConnection", "MixinClientConnection",

View File

@ -1,8 +1,8 @@
dependencies { dependencies {
minecraft("com.mojang:minecraft:1.8.9") minecraft("com.mojang:minecraft:1.8.9")
mappings("net.legacyfabric:yarn:1.8.9+build.458:v2") mappings("net.legacyfabric:yarn:1.8.9+build.532:v2")
modImplementation("net.legacyfabric.legacy-fabric-api:legacy-fabric-api:1.9.0+1.8.9") modImplementation("net.legacyfabric.legacy-fabric-api:legacy-fabric-api:1.9.1+1.8.9")
modImplementation("io.github.boogiemonster1o1:rewoven-modmenu:1.0.0+1.8.9") { modImplementation("io.github.boogiemonster1o1:rewoven-modmenu:1.0.0+1.8.9") {
isTransitive = false isTransitive = false
} }