chore: update Java toolchain to version 17
This commit is contained in:
1 file changed
+6
-3
+6
-3
@@ -5,9 +5,6 @@ plugins {
|
|||||||
group 'me.creepermaxcz.mc-bots'
|
group 'me.creepermaxcz.mc-bots'
|
||||||
version '1.2.14'
|
version '1.2.14'
|
||||||
|
|
||||||
sourceCompatibility = 1.17
|
|
||||||
targetCompatibility = 1.17
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url 'https://jitpack.io' }
|
maven { url 'https://jitpack.io' }
|
||||||
@@ -25,6 +22,12 @@ dependencies {
|
|||||||
implementation 'org.jline:jline:3.22.0'
|
implementation 'org.jline:jline:3.22.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
toolchain {
|
||||||
|
languageVersion = JavaLanguageVersion.of(17)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': 'me.creepermaxcz.mcbots.Main'
|
attributes 'Main-Class': 'me.creepermaxcz.mcbots.Main'
|
||||||
|
|||||||
Reference in new issue
Block a user