diff --git a/build.gradle b/build.gradle index d09a147..303e4a1 100644 --- a/build.gradle +++ b/build.gradle @@ -17,6 +17,11 @@ if (project.hasProperty('releaseMode')) { wpilibRepositories.addAllDevelopmentRepositories(project) } +java { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 +} + // Apply C++ configuration apply from: 'config.gradle'