Skip to content

Commit

Permalink
build(bulk-model-sync-gradle): set Java versions to 21 for test with …
Browse files Browse the repository at this point in the history
…Gradle

The tests execute the Gradle build for modelix.core which requires Java 21.
Java 21 is required by the build for the Gradle plugin `dev.petuska.npm.publish`.
  • Loading branch information
odzhychko committed Jan 2, 2025
1 parent 2f1b4ba commit fdfefaf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bulk-model-sync-gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ plugins {
`java-gradle-plugin`
}

tasks.test {
javaLauncher.set(
javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(21))
},
)
}

dependencies {
implementation(project(":model-client", "jvmRuntimeElements"))
implementation(project(":bulk-model-sync-lib"))
Expand Down

0 comments on commit fdfefaf

Please sign in to comment.