1 Commits
Author SHA1 Message Date
Christopher Bohn cb3aee6217 Target Java 21 2024-04-24 00:36:21 -07:00
4 changed files with 7 additions and 7 deletions

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
cache: 'gradle'
- name: Build
run: ./gradlew build
+4 -4
View File
@@ -3,13 +3,13 @@ import java.io.ByteArrayOutputStream
plugins {
id("java-library")
id("maven-publish")
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.github.goooler.shadow") version "8.1.7"
}
subprojects {
plugins.apply("java-library")
plugins.apply("maven-publish")
plugins.apply("com.github.johnrengelman.shadow")
plugins.apply("io.github.goooler.shadow")
group = "${project.property("group")}"
version = "${project.property("version")}.${commitsSinceLastTag()}"
@@ -21,7 +21,7 @@ subprojects {
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
languageVersion.set(JavaLanguageVersion.of(21))
}
withSourcesJar()
}
@@ -29,7 +29,7 @@ subprojects {
tasks {
withType<JavaCompile> {
options.encoding = "UTF-8"
options.release = 17
options.release = 21
options.compilerArgs.add("-Xlint:none")
}
jar {
+1 -1
View File
@@ -29,7 +29,7 @@
"fabricloader": ">=0.14.21",
"fabric": "*",
"minecraft": ">=1.20.0",
"java": ">=17"
"java": ">=21"
},
"custom": {
"modmenu": {
+1 -1
View File
@@ -1,7 +1,7 @@
org.gradle.jvmargs=-Xmx2G
group=org.popcraft
artifactName=Chunky
version=1.3
version=1.4
description=Pre-generates chunks, quickly, efficiently, and safely
github=https://github.com/pop4959/Chunky
author=pop4959