File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,16 @@ version = GitVersion.getGitVersion().getVersionAsString()
3232
3333println (" Version: " + version)
3434
35- tasks. withType(JavaCompile ) {
36- options. compilerArgs + = " --enable-preview"
35+ java {
36+ toolchain {
37+ languageVersion = JavaLanguageVersion . of(24 )
38+ }
3739}
3840
39- tasks. withType(JavaExec ) {
40- jvmArgs + = " --enable-preview"
41+ tasks. withType(JavaExec ). configureEach {
42+ javaLauncher. set(javaToolchains. launcherFor {
43+ languageVersion. set(JavaLanguageVersion . of(24 ))
44+ })
4145}
4246
4347repositories {
@@ -62,10 +66,10 @@ dependencies {
6266 testImplementation ' org.junit.jupiter:junit-jupiter'
6367
6468 installer(' org.mangorage:installer:4.0.5' )
65- bot(' org.mangorage:mangobot:11.0.23 ' )
69+ bot(' org.mangorage:mangobot:11.0.75 ' )
6670
67- plugin(' org.mangorage:mangobotplugin:11.1.28 ' )
68- plugin(' org.mangorage:mangobotwebsite:1.0.21 ' )
71+ plugin(' org.mangorage:mangobotplugin:11.1.31 ' )
72+ plugin(' org.mangorage:mangobotwebsite:1.0.27 ' )
6973
7074 library(' org.eclipse.mylyn.github:org.eclipse.egit.github.core:2.1.5' )
7175 library(' org.kohsuke:github-api:1.321' )
Original file line number Diff line number Diff line change 1+ plugins {
2+ id ' org.gradle.toolchains.foojay-resolver-convention' version ' 0.9.0'
3+ }
4+
15rootProject. name = ' mangobotgithub'
26
You can’t perform that action at this time.
0 commit comments