How to run a program on every build to the robot

Hi,
We hava a .bat/.py script on out local computer which we would like to execute every time we hit the Shift+F5 (build).
Maybe anyway through the Gradle but I don’t know how.
Thanks :slight_smile:

The dependsOn command in Gradle should help you accomplish this.

1 Like

You can put the command in gradlew or gradlew.bat

We did this last year: https://github.com/Radicubs/InfiniteRecharge2020/blob/00b650854c9649598115bbbeb442be823ea7a3a2/gradlew#L183

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.