Skip to content

Commit 35f025f

Browse files
committed
Minoir
1 parent 40babbb commit 35f025f

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

build.gradle

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,16 @@ version = GitVersion.getGitVersion().getVersionAsString()
3232

3333
println("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

4347
repositories {
@@ -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')

settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
plugins {
2+
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.9.0'
3+
}
4+
15
rootProject.name = 'mangobotgithub'
26

0 commit comments

Comments
 (0)