-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 2023-11-08_mrcal
- Loading branch information
Showing
101 changed files
with
2,328 additions
and
1,400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,27 @@ | ||
plugins { | ||
id 'edu.wpi.first.WpilibTools' version '1.3.0' | ||
} | ||
|
||
import java.nio.file.Path | ||
|
||
apply from: "${rootDir}/shared/common.gradle" | ||
|
||
dependencies { | ||
implementation project(':photon-targeting') | ||
|
||
implementation "io.javalin:javalin:$javalinVersion" | ||
|
||
implementation 'org.msgpack:msgpack-core:0.9.0' | ||
implementation 'org.msgpack:jackson-dataformat-msgpack:0.9.0' | ||
|
||
// JOGL stuff (currently we only distribute for aarch64, which is Pi 4) | ||
implementation "org.jogamp.gluegen:gluegen-rt:$joglVersion" | ||
implementation "org.jogamp.jogl:jogl-all:$joglVersion" | ||
|
||
implementation "org.jogamp.gluegen:gluegen-rt:$joglVersion:natives-linux-aarch64" | ||
implementation "org.jogamp.jogl:jogl-all:$joglVersion:natives-linux-aarch64" | ||
|
||
// Zip | ||
implementation 'org.zeroturnaround:zt-zip:1.14' | ||
|
||
implementation wpilibTools.deps.wpilibJava("apriltag") | ||
|
||
implementation "org.xerial:sqlite-jdbc:3.41.0.0" | ||
|
||
implementation "org.photonvision:photon-mrcal-java:dev-Unknown" | ||
implementation "org.photonvision:photon-mrcal-jni:dev-Unknown:" + wpilibNativeName; | ||
} | ||
|
||
task writeCurrentVersionJava { | ||
task writeCurrentVersion { | ||
def versionFileIn = file("${rootDir}/shared/PhotonVersion.java.in") | ||
writePhotonVersionFile(versionFileIn, Path.of("$projectDir", "src", "main", "java", "org", "photonvision", "PhotonVersion.java"), | ||
versionString) | ||
} | ||
|
||
build.dependsOn writeCurrentVersionJava | ||
build.dependsOn writeCurrentVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.