Skip to content

Commit

Permalink
Update java target and source compat to 17 (wpilibsuite#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Sep 2, 2023
1 parent e98e18c commit e483778
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/resources/export/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ plugins {
id "edu.wpi.first.GradleRIO" version "${wpilib_version}"
}

sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

def ROBOT_MAIN_CLASS = "${package}.Main"

Expand Down

0 comments on commit e483778

Please sign in to comment.