mirror of
https://github.com/TeamMidnightDust/Puddles.git
synced 2025-12-16 03:55:09 +01:00
fix: crash with Java 17
This commit is contained in:
@@ -4,8 +4,8 @@ plugins {
|
|||||||
id "me.shedaniel.unified-publishing" version "0.1.+"
|
id "me.shedaniel.unified-publishing" version "0.1.+"
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_21
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
targetCompatibility = JavaVersion.VERSION_21
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
|
|
||||||
archivesBaseName = project.archives_base_name
|
archivesBaseName = project.archives_base_name
|
||||||
version = project.mod_version
|
version = project.mod_version
|
||||||
@@ -55,7 +55,7 @@ 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"
|
||||||
|
|
||||||
it.options.release = 21
|
it.options.release = 17
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
@@ -130,7 +130,7 @@ unifiedPublishing {
|
|||||||
curseforge {
|
curseforge {
|
||||||
token = CURSEFORGE_TOKEN
|
token = CURSEFORGE_TOKEN
|
||||||
id = rootProject.curseforge_id
|
id = rootProject.curseforge_id
|
||||||
gameVersions.addAll "Java 21", project.minecraft_version, project.supported_versions
|
gameVersions.addAll "Java 17", project.minecraft_version, project.supported_versions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10
|
|||||||
loader_version=0.16.5
|
loader_version=0.16.5
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 2.0.1+1.20.1
|
mod_version = 2.0.1.1+1.20.1
|
||||||
maven_group = eu.midnightdust
|
maven_group = eu.midnightdust
|
||||||
archives_base_name = puddles
|
archives_base_name = puddles
|
||||||
release_type=release
|
release_type=release
|
||||||
|
|||||||
Reference in New Issue
Block a user