diff --git a/README.md b/README.md index 4f3deba..5356c5e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Potential Octo Eureka(POE) The official library for Team 578 R3 - Red Raider Robotics +# Including in FRC Project +To include this library in a Java FRC Robot project. + # Building -The build artifacts can be built using `./gradlew publish` - -They will be located in `lib/build/repos` +The project can be build and published to the local Maven repository using `./gradlew publishToMavenLocal` diff --git a/lib/build.gradle b/lib/build.gradle index 1637301..409832f 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -9,7 +9,7 @@ plugins { // Apply the java-library plugin for API and implementation separation. id 'java' - id 'edu.wpi.first.GradleRIO' version '2022.2.1' + id 'edu.wpi.first.GradleRIO' version '2023.2.1' } repositories { @@ -18,7 +18,13 @@ repositories { mavenLocal() gradlePluginPortal() maven{ - url 'https://maven.ctr-electronics.com/release/' + url "https://maven.photonvision.org/repository/snapshots" + } + maven{ + url "https://maven.photonvision.org/repository/internal" + } + maven{ + url "https://maven.ctr-electronics.com/release/" } } @@ -41,8 +47,10 @@ dependencies { implementation "com.fasterxml.jackson.core:jackson-core:2.10.0" implementation "com.fasterxml.jackson.core:jackson-databind:2.10.0" implementation 'edu.wpi.first.thirdparty.frc2022.opencv:opencv-java:4.5.2-1' - implementation 'com.ctre.phoenix:api-java:5.20.2' - implementation 'com.ctre.phoenix:wpiapi-java:5.20.2' + implementation 'com.ctre.phoenix:api-java:5.30.3' + implementation 'com.ctre.phoenix:wpiapi-java:5.30.3' + implementation "org.photonvision:PhotonLib-java:v2023.2.1" + implementation "org.photonvision:PhotonTargeting-java:v2023.2.1" } tasks.named('test') {