- Clone this repository and import it as a Gradle project. (
File > Import... > Gradle > Gradle Project)
- In the
Gradle Tasks view, expand and run eagleforce-robot-common > publishing > publishToMavenLocal.
- In the robot project's
build.gradle file, add these lines in repositories and dependencies:
repositories {
// ... other repositories ...
mavenLocal()
}
dependencies {
// ... other dependencies ...
compile group: 'com.team2073.common', name: 'common', version: '1.0'
}
- Refresh the robot project as a Gradle project. (
Right-click > Gradle > Refresh Gradle Project)