diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 6067d5d145..edd6b1ef32 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -5,7 +5,11 @@ plugins { id 'com.apollographql.apollo' version '2.4.5' } -sourceCompatibility = JavaVersion.VERSION_17 +java { + toolchain { + languageVersion = JavaLanguageVersion.of(17) + } +} repositories { gradlePluginPortal()