Skip to content

Commit

Permalink
Copy WPILibNewCommands.json from lib/vendordeps to vendordeps before …
Browse files Browse the repository at this point in the history
…compiling
  • Loading branch information
kcooney committed Jan 28, 2024
1 parent 40b2d10 commit a9d5d98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Robot2024/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,10 @@ wpi.java.configureTestTasks(test)
// Configure string concat to always inline compile
tasks.withType(JavaCompile) {
options.compilerArgs.add '-XDstringConcat=inline'
dependsOn('copyVendorDeps')
}

tasks.register('copyVendorDeps', Copy) {
from layout.projectDirectory.file("lib/vendordeps/WPILibNewCommands.json")
into layout.projectDirectory.dir("vendordeps")
}
1 change: 1 addition & 0 deletions Robot2024/vendordeps/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WPILibNewCommands.json

0 comments on commit a9d5d98

Please sign in to comment.