Declaring WPILIB as a Dependency in Gradle

Are the wpilibraries hosted on any gradle repositories? If so, where? I am wanting to use the NetworkTables dependency in particular, but cant find it own any maven/gradle repositories

https://wpilib.screenstepslive.com/s/currentCS/m/wpilib_source/l/480976-maven-artifacts

There is a link in there to either the release or development repositories, which you can add to Gradle in a repositories { maven { ... } } block

Note for 2020 those URLs are going to be changing. We will have announcements on that at kickoff, but the URLs will definitely be different.

1 Like

Here’s an example: https://github.com/frc1444/wpi-util/blob/master/build.gradle

Here’s an older thread about this same thing: Import WPILib into a maven project

Any teaser on the changes?

We just don’t have the final urls yet and are testing a few things. Just don’t want to announce it now and then change it in 3 months potentially.

1 Like

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