Skip to content

Commit

Permalink
Use gradle properties for deploying debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinsonZ committed Oct 9, 2018
1 parent 17d6980 commit ce013d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ deploy {
artifact('frcJava', FRCJavaArtifact) {
targets << "roborio"
/*
IMPORTANT: With this line in the buildscript, the robot code will not start until
you connect your debugger to the robot. Connect by running the "Remote Robot Debug"
run configuration which should be shared through version control. Alternatively,
remove this line and redeploy.
IMPORTANT: With the "deploy-debug" property set (i.e. -Pdeploy-debug is on the
command line), the robot code will not start until you connect your debugger to the
robot. Connect by running the "Remote Robot Debug" run configuration which should be
shared through version control. Alternatively, remove this line and redeploy.
*/
debug = true
debug = project.hasProperty("deploy-debug")
}
}
}
Expand Down

0 comments on commit ce013d2

Please sign in to comment.