This commit is contained in:
Jörg Henke 2021-12-02 21:04:24 +01:00
parent cb1c2ef35e
commit 4db8aff792
3 changed files with 4 additions and 4 deletions

View File

@ -46,8 +46,8 @@ tasks.withType(JavaCompile).configureEach {
// If Javadoc is generated, this must be specified in that task too. // If Javadoc is generated, this must be specified in that task too.
it.options.encoding = "UTF-8" it.options.encoding = "UTF-8"
// Minecraft 1.17 (21w19a) upwards uses Java 16. // Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
it.options.release = 16 it.options.release = 17
} }
java { java {

View File

@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx1G
# check these on https://fabricmc.net/versions.html # check these on https://fabricmc.net/versions.html
minecraft_version=1.18 minecraft_version=1.18
yarn_mappings=1.18+build.1 yarn_mappings=1.18+build.1
loader_version=0.12.7 loader_version=0.12.8
# Mod Properties # Mod Properties
mod_version = 1.18.0 mod_version = 1.18.0

View File

@ -1,10 +1,10 @@
pluginManagement { pluginManagement {
repositories { repositories {
jcenter()
maven { maven {
name = 'Fabric' name = 'Fabric'
url = 'https://maven.fabricmc.net/' url = 'https://maven.fabricmc.net/'
} }
mavenCentral()
gradlePluginPortal() gradlePluginPortal()
} }
} }