1.18-pre2

This commit is contained in:
modmuss50 2021-11-16 19:30:30 +00:00
parent 466c1a804a
commit 57e84b576d
5 changed files with 11 additions and 12 deletions

View file

@ -12,8 +12,7 @@ jobs:
matrix:
# Use these Java versions
java: [
16, # Minimum supported by Minecraft
17, # Current Java LTS
17, # Current Java LTS & minimum supported by Minecraft
]
# and run on both Linux and Windows
os: [ubuntu-20.04, windows-2022]

View file

@ -3,8 +3,8 @@ plugins {
id 'maven-publish'
}
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
archivesBaseName = project.archives_base_name
version = project.mod_version
@ -37,8 +37,8 @@ processResources {
}
tasks.withType(JavaCompile).configureEach {
// Minecraft 1.17 (21w19a) upwards uses Java 16.
it.options.release = 16
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
it.options.release = 17
}
java {

View file

@ -3,8 +3,8 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.17.1
yarn_mappings=1.17.1+build.63
minecraft_version=1.18-pre2
yarn_mappings=1.18-pre2+build.1
loader_version=0.12.5
# Mod Properties
@ -13,4 +13,4 @@ org.gradle.jvmargs=-Xmx1G
archives_base_name = fabric-example-mod
# Dependencies
fabric_version=0.42.1+1.17
fabric_version=0.42.4+1.18

View file

@ -29,8 +29,8 @@
"depends": {
"fabricloader": ">=0.11.3",
"fabric": "*",
"minecraft": "1.17.x",
"java": ">=16"
"minecraft": "1.18.x",
"java": ">=17"
},
"suggests": {
"another-mod": "*"

View file

@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "net.fabricmc.example.mixin",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
],
"client": [