From 0392671a5a3f9901c3926f5b121c27344ea8bec0 Mon Sep 17 00:00:00 2001 From: Lucas Date: Thu, 7 Sep 2023 09:56:07 +1000 Subject: [PATCH] Apply changes to javadt template --- vscode-wpilib/resources/gradle/javadt/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vscode-wpilib/resources/gradle/javadt/build.gradle b/vscode-wpilib/resources/gradle/javadt/build.gradle index f1239760..6f0f4396 100644 --- a/vscode-wpilib/resources/gradle/javadt/build.gradle +++ b/vscode-wpilib/resources/gradle/javadt/build.gradle @@ -3,6 +3,11 @@ plugins { id "edu.wpi.first.GradleRIO" version "###GRADLERIOREPLACE###" } +java { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 +} + def ROBOT_MAIN_CLASS = "###ROBOTCLASSREPLACE###" // Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.