2021-01-18 22:12:57 -05:00
|
|
|
apply plugin: "java"
|
2021-01-16 20:41:47 -08:00
|
|
|
|
2022-11-09 11:00:46 -08:00
|
|
|
apply from: "${rootDir}/shared/common.gradle"
|
|
|
|
|
|
2021-01-16 20:41:47 -08:00
|
|
|
dependencies {
|
2022-12-16 17:05:23 -08:00
|
|
|
implementation wpilibTools.deps.wpilibJava("wpimath")
|
2023-10-15 12:17:40 -04:00
|
|
|
implementation "org.ejml:ejml-simple:0.42"
|
2023-02-13 17:57:01 -05:00
|
|
|
|
|
|
|
|
// 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")
|
2022-09-28 18:21:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
|
options.encoding = 'UTF-8'
|
|
|
|
|
}
|
|
|
|
|
tasks.withType(Javadoc) {
|
|
|
|
|
options.encoding = 'UTF-8'
|
2021-01-16 20:41:47 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
java {
|
|
|
|
|
withJavadocJar()
|
|
|
|
|
withSourcesJar()
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-13 17:57:01 -05:00
|
|
|
test {
|
|
|
|
|
useJUnitPlatform()
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-18 22:12:57 -05:00
|
|
|
apply from: "publish.gradle"
|