mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
Merges Photonlib into Photonvision, along with the Photonlib code examples. Also creates a new PhotonTargeting library teams can depend on.
34 lines
778 B
Groovy
34 lines
778 B
Groovy
apply plugin: 'java'
|
|
|
|
repositories {
|
|
maven {
|
|
url = 'https://frcmaven.wpi.edu:443/artifactory/development'
|
|
}
|
|
maven {
|
|
url = 'https://frcmaven.wpi.edu:443/artifactory/release'
|
|
}
|
|
}
|
|
|
|
apply from: '../versioningHelper.gradle'
|
|
|
|
ext {
|
|
pubVersion = versionString
|
|
}
|
|
|
|
def openCVVersion = '3.4.7-2'
|
|
|
|
dependencies {
|
|
implementation 'edu.wpi.first.wpimath:wpimath-java:2021.1.2'
|
|
implementation "edu.wpi.first.thirdparty.frc2020.opencv:opencv-java:$openCVVersion"
|
|
implementation "com.fasterxml.jackson.core:jackson-core:2.10.0"
|
|
implementation "com.fasterxml.jackson.core:jackson-annotations:2.10.0"
|
|
implementation 'org.apache.commons:commons-math3:3.6.1'
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
withSourcesJar()
|
|
}
|
|
|
|
apply from: 'publish.gradle'
|