Minecraft 1.18 #4

Merged
ModProg merged 3 commits from 1.18 into 1.17 2021-12-03 13:44:25 +00:00
4 changed files with 7 additions and 7 deletions
Showing only changes of commit e3a9a28c62 - Show all commits

View File

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

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
@ -52,8 +52,8 @@ tasks.withType(JavaCompile).configureEach {
// If Javadoc is generated, this must be specified in that task too.
it.options.encoding = "UTF-8"
// Minecraft 1.17 (21w19a) upwards uses Java 16.
it.options.release = 16
// Minecraft 1.18 (pre-release 2) upwards uses Java 17.
it.options.release = 17
}
java {

View File

@ -29,6 +29,6 @@
"depends": {
"fabricloader": ">=0.11.3",
"minecraft": "1.18.x",
"java": ">=16"
"java": ">=17"
}
}

View File

@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "nl.andrewlalis.speed_carts.mixin",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
"AbstractMinecartMixin"
],