mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-21 01:01:41 +00:00
33 lines
709 B
Groovy
33 lines
709 B
Groovy
apply plugin: "java"
|
|
|
|
apply from: "${rootDir}/shared/common.gradle"
|
|
|
|
dependencies {
|
|
implementation wpilibTools.deps.wpilibJava("wpimath")
|
|
implementation wpilibTools.deps.wpilibJava("apriltag")
|
|
implementation "org.ejml:ejml-simple:0.42"
|
|
|
|
// Junit
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
|
|
testImplementation("org.junit.jupiter:junit-jupiter-params:5.8.2")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2")
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
tasks.withType(Javadoc) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
withSourcesJar()
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
apply from: "publish.gradle"
|