Updated library libs version

This commit is contained in:
Tyler Wilcox 2023-01-19 19:40:55 -05:00
parent f5e34506b2
commit 9f4a732b50
2 changed files with 16 additions and 7 deletions

View File

@ -1,8 +1,9 @@
# Potential Octo Eureka(POE) # Potential Octo Eureka(POE)
The official library for Team 578 R3 - Red Raider Robotics 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 # Building
The build artifacts can be built using `./gradlew publish` The project can be build and published to the local Maven repository using `./gradlew publishToMavenLocal`
They will be located in `lib/build/repos`

View File

@ -9,7 +9,7 @@
plugins { plugins {
// Apply the java-library plugin for API and implementation separation. // Apply the java-library plugin for API and implementation separation.
id 'java' id 'java'
id 'edu.wpi.first.GradleRIO' version '2022.2.1' id 'edu.wpi.first.GradleRIO' version '2023.2.1'
} }
repositories { repositories {
@ -18,7 +18,13 @@ repositories {
mavenLocal() mavenLocal()
gradlePluginPortal() gradlePluginPortal()
maven{ 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-core:2.10.0"
implementation "com.fasterxml.jackson.core:jackson-databind: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 '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:api-java:5.30.3'
implementation 'com.ctre.phoenix:wpiapi-java:5.20.2' 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') { tasks.named('test') {