chore: update Java toolchain to version 17

This commit is contained in:
Uni0305 committed 2025-08-02 21:29:55 +09:00
1 parent 86c2933796
commit ce0eec40cb
1 file changed
+6 -3
+6 -3
View File
@@ -5,9 +5,6 @@ plugins {
group 'me.creepermaxcz.mc-bots'
version '1.2.14'
sourceCompatibility = 1.17
targetCompatibility = 1.17
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
@@ -25,6 +22,12 @@ dependencies {
implementation 'org.jline:jline:3.22.0'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
jar {
manifest {
attributes 'Main-Class': 'me.creepermaxcz.mcbots.Main'