diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-11-16 21:59:17 +0200 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-11-16 21:59:17 +0200 |
commit | 3f4e6c15db57bfb4fd3f304a80d0a34331c79df3 (patch) | |
tree | dc8709ec1f7311abcf072a62d3e1c5b045f3bb68 /build.gradle | |
parent | 30c5163bddb8c2781d367956c2f7018f78281cd8 (diff) | |
download | LibGui-3f4e6c15db57bfb4fd3f304a80d0a34331c79df3.tar.gz LibGui-3f4e6c15db57bfb4fd3f304a80d0a34331c79df3.tar.bz2 LibGui-3f4e6c15db57bfb4fd3f304a80d0a34331c79df3.zip |
Update to Minecraft 1.18-pre2 and Java 17
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/build.gradle b/build.gradle index 700f589..39c5940 100644 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,8 @@ plugins { id 'checkstyle' } -sourceCompatibility = JavaVersion.VERSION_16 -targetCompatibility = JavaVersion.VERSION_16 +sourceCompatibility = JavaVersion.VERSION_17 +targetCompatibility = JavaVersion.VERSION_17 if(rootProject.file('private.gradle').exists()) { //Publishing details apply from: 'private.gradle' @@ -22,15 +22,8 @@ configurations { repositories { maven { url "https://server.bbkr.space/artifactory/libs-release" } - /*maven { - url = "https://maven.terraformersmc.com/releases" - content { - includeGroup "com.terraformersmc" - } - }*/ maven { - name = "TerraformersMC archive" - url = "https://maven.terraformersmc.com/releases/" + url = "https://maven.terraformersmc.com/releases" content { includeGroup "com.terraformersmc" } @@ -48,7 +41,7 @@ dependencies { // Using modApi instead of api because of https://github.com/FabricMC/fabric-loom/issues/200 include modApi("io.github.juuxel:libninepatch:${project.libninepatch_version}") - modRuntime(modCompileOnly("com.terraformersmc:modmenu:$project.modmenu_version") { + modLocalRuntime(modCompileOnly("com.terraformersmc:modmenu:$project.modmenu_version") { exclude group: 'net.fabricmc.fabric-api' }) @@ -73,7 +66,7 @@ tasks.withType(JavaCompile) { // this fixes some edge cases with special characters not displaying correctly // see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html options.encoding = "UTF-8" - options.release.set 16 + options.release.set 17 } jar { @@ -105,15 +98,7 @@ javadoc { publishing { publications { maven(MavenPublication) { - artifact(remapJar) { - builtBy remapJar - } - - artifact(sourcesJar) { - builtBy remapSourcesJar - } - - artifact(javadocJar) + from components.java } } |