Minecraft 1.18 #4
|
@ -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]
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -29,6 +29,6 @@
|
|||
"depends": {
|
||||
"fabricloader": ">=0.11.3",
|
||||
"minecraft": "1.18.x",
|
||||
"java": ">=16"
|
||||
"java": ">=17"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "nl.andrewlalis.speed_carts.mixin",
|
||||
"compatibilityLevel": "JAVA_16",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"mixins": [
|
||||
"AbstractMinecartMixin"
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue