Skip to content

Commit 48d4c42

Browse files
Update Java version configuration
Again, in an attempt to make Jitpack work
1 parent 97a8200 commit 48d4c42

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ plugins {
1313
}
1414

1515
group = "org.esoteric_organisation"
16-
version = "0.1.3"
16+
version = "0.1.4"
1717
description = "The core plugin of The Slimy Swamp Minecraft server."
1818

1919
val projectNameString = rootProject.name
@@ -22,8 +22,12 @@ val projectGroupString = group.toString()
2222
val projectVersionString = version.toString()
2323

2424
val javaVersion = 21
25+
val javaVersionEnumMember = JavaVersion.valueOf("VERSION_$javaVersion")
2526

2627
java {
28+
sourceCompatibility = javaVersionEnumMember
29+
targetCompatibility = javaVersionEnumMember
30+
2731
toolchain.languageVersion.set(JavaLanguageVersion.of(javaVersion))
2832
}
2933

0 commit comments

Comments
 (0)