mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Use forked WPILib tool plugin (#2120)
## Description Update to use our fork of the WPILib tool plugin. WPILib has indicated that it won't be maintained past 2026, so we're forking it under our org. We also fixed a bug that results in native libraries for multiple platforms being included in a jar when only the native libraries for the platform being built should be included. ## Meta Merge checklist: - [x] Pull Request title is [short, imperative summary](https://cbea.ms/git-commit/) of proposed changes - [x] The description documents the _what_ and _why_ - [ ] If this PR changes behavior or adds a feature, user documentation is updated - [ ] If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly - [ ] If this PR touches configuration, this is backwards compatible with settings back to v2025.3.2 - [ ] If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated - [ ] If this PR addresses a bug, a regression test for it is added --------- Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com> Co-authored-by: samfreund <samf.236@proton.me>
This commit is contained in:
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"python.testing.unittestEnabled": false,
|
"python.testing.unittestEnabled": false,
|
||||||
"python.testing.pytestEnabled": true,
|
"python.testing.pytestEnabled": true,
|
||||||
"python.testing.cwd": "photon-lib/py"
|
"python.testing.cwd": "photon-lib/py",
|
||||||
|
"java.configuration.updateBuildConfiguration": "automatic"
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,7 @@ plugins {
|
|||||||
id "com.diffplug.spotless" version "6.24.0"
|
id "com.diffplug.spotless" version "6.24.0"
|
||||||
id "edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin" version "2020.2"
|
id "edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin" version "2020.2"
|
||||||
id "edu.wpi.first.GradleRIO" version "2026.1.1-beta-1"
|
id "edu.wpi.first.GradleRIO" version "2026.1.1-beta-1"
|
||||||
id 'edu.wpi.first.WpilibTools' version '1.3.0'
|
id 'org.photonvision.tools.WpilibTools' version '2.2.0-photon'
|
||||||
id 'com.google.protobuf' version '0.9.3' apply false
|
id 'com.google.protobuf' version '0.9.3' apply false
|
||||||
id 'edu.wpi.first.GradleJni' version '1.1.0'
|
id 'edu.wpi.first.GradleJni' version '1.1.0'
|
||||||
id "org.ysb33r.doxygen" version "2.0.0" apply false
|
id "org.ysb33r.doxygen" version "2.0.0" apply false
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
apply plugin: 'edu.wpi.first.WpilibTools'
|
apply plugin: 'org.photonvision.tools.WpilibTools'
|
||||||
|
|
||||||
import java.nio.file.Path
|
import java.nio.file.Path
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
apply plugin: 'edu.wpi.first.WpilibTools'
|
apply plugin: 'org.photonvision.tools.WpilibTools'
|
||||||
|
|
||||||
import java.nio.file.Path
|
import java.nio.file.Path
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ apply plugin: 'cpp'
|
|||||||
apply plugin: 'c'
|
apply plugin: 'c'
|
||||||
apply plugin: 'google-test-test-suite'
|
apply plugin: 'google-test-test-suite'
|
||||||
apply plugin: 'edu.wpi.first.NativeUtils'
|
apply plugin: 'edu.wpi.first.NativeUtils'
|
||||||
apply plugin: 'edu.wpi.first.WpilibTools'
|
apply plugin: 'org.photonvision.tools.WpilibTools'
|
||||||
apply plugin: 'edu.wpi.first.GradleJni'
|
apply plugin: 'edu.wpi.first.GradleJni'
|
||||||
|
|
||||||
ext.licenseFile = file("$rootDir/LICENSE")
|
ext.licenseFile = file("$rootDir/LICENSE")
|
||||||
|
|||||||
@@ -1,3 +1,14 @@
|
|||||||
|
pluginManagement {
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
gradlePluginPortal()
|
||||||
|
maven {
|
||||||
|
url = uri('https://maven.photonvision.org/releases')
|
||||||
|
}
|
||||||
|
mavenLocal()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
include 'photon-targeting'
|
include 'photon-targeting'
|
||||||
include 'photon-core'
|
include 'photon-core'
|
||||||
include 'photon-server'
|
include 'photon-server'
|
||||||
|
|||||||
Reference in New Issue
Block a user