-
Notifications
You must be signed in to change notification settings - Fork 2
setup
Eric D'Urso edited this page Dec 9, 2021
·
2 revisions
This is the common codebase for FRC team 862's robots.
Javadocs for this project can be found here.
To use this project in a WPILib command-based robot project, walk through the following steps.
-
Make sure the project has all the necessary files in
vendordeps/as seen here. -
You must also set up the following dependency repository in your
build.gradle.
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/frc-862/lightning"
credentials {
username = project.findProperty("gpr.user")
password = project.findProperty("gpr.key")
}
}
}- You should set your
~/.gradle/gradle.properties(Unix) or%HOMEPATH%\.gradle\gradle.properties(Windows) file to contain your username as well as a GitHub Personal Access Token.
See this article for creating a PAT.
gpr.user=<your-username>
gpr.key=<your-personal-access-token>Note that you do not need to be a member of the @frc-862 organization to have access to this project.
- Add the library as a dependency as shown below
dependencies {
implementation 'com.lightningrobotics:common:<version>'
}The latest version of this repository (for <version> above) is .