From 872441481c104980831a445ccd545c2c0018c669 Mon Sep 17 00:00:00 2001 From: Lars Grefer Date: Sun, 8 Oct 2023 16:43:26 +0200 Subject: [PATCH] Update Lombok Plugin tests --- lombok-plugin/build.gradle | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lombok-plugin/build.gradle b/lombok-plugin/build.gradle index 12c9613b..4be0ef8f 100644 --- a/lombok-plugin/build.gradle +++ b/lombok-plugin/build.gradle @@ -9,7 +9,7 @@ description = "Collection of Lombok related Gradle plugins" dependencies { testImplementation project(":test-common") testImplementation 'org.projectlombok:lombok:1.18.30' - testImplementation 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:4.0.0.2929' + testImplementation 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:4.4.1.3373' } gradlePlugin { @@ -23,3 +23,15 @@ gradlePlugin { } } } + +compileTestJava { + javaCompiler = javaToolchains.compilerFor { + languageVersion = JavaLanguageVersion.of(11) + } +} + +test { + javaLauncher = javaToolchains.launcherFor { + languageVersion = JavaLanguageVersion.of(11) + } +}