Skip to content

Commit

Permalink
Add epilogue support
Browse files Browse the repository at this point in the history
Use the new wpilibAnnotations() dependency group, which includes epilogue

The runtime is included in the existing wpilib() group, so only the annotation processors need to be added
  • Loading branch information
SamCarlberg committed Sep 7, 2024
1 parent c6d0f77 commit 1067386
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions vscode-wpilib/resources/gradle/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def includeDesktopSupport = false
// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
dependencies {
annotationProcessor wpi.java.deps.wpilibAnnotations()
implementation wpi.java.deps.wpilib()
implementation wpi.java.vendor.java()

Expand Down
1 change: 1 addition & 0 deletions vscode-wpilib/resources/gradle/javadt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def ROBOT_MAIN_CLASS = "###ROBOTCLASSREPLACE###"
// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
dependencies {
annotationProcessor wpi.java.deps.wpilibAnnotations()
implementation wpi.java.deps.wpilib()

nativeDebug wpi.java.deps.wpilibJniDebug(wpi.platforms.desktop)
Expand Down
1 change: 1 addition & 0 deletions vscode-wpilib/resources/gradle/javaromi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def includeDesktopSupport = true
// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
dependencies {
annotationProcessor wpi.java.deps.wpilibAnnotations()
implementation wpi.java.deps.wpilib()
implementation wpi.java.vendor.java()

Expand Down
1 change: 1 addition & 0 deletions vscode-wpilib/resources/gradle/javaxrp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def includeDesktopSupport = true
// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
dependencies {
annotationProcessor wpi.java.deps.wpilibAnnotations()
implementation wpi.java.deps.wpilib()
implementation wpi.java.vendor.java()

Expand Down

0 comments on commit 1067386

Please sign in to comment.