diff --git a/.vscode/settings.json b/.vscode/settings.json index 376e6c941c..35b8bcfb7d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, - "python.testing.cwd": "photon-lib/py" + "python.testing.cwd": "photon-lib/py", + "java.configuration.updateBuildConfiguration": "automatic" } \ No newline at end of file diff --git a/build.gradle b/build.gradle index 1f0d90b7d8..16c6d8ce68 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { id "com.diffplug.spotless" version "6.24.0" id "edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin" version "2020.2" id "edu.wpi.first.GradleRIO" version "2025.3.2" - id 'edu.wpi.first.WpilibTools' version '1.3.0' + id 'org.photonvision.tools.WpilibTools' version '2.1.0-photon' id 'com.google.protobuf' version '0.9.3' apply false id 'edu.wpi.first.GradleJni' version '1.1.0' id "org.ysb33r.doxygen" version "2.0.0" apply false diff --git a/photon-core/build.gradle b/photon-core/build.gradle index 6e9c99c1f1..8717e59617 100644 --- a/photon-core/build.gradle +++ b/photon-core/build.gradle @@ -1,4 +1,4 @@ -apply plugin: 'edu.wpi.first.WpilibTools' +apply plugin: 'org.photonvision.tools.WpilibTools' import java.nio.file.Path diff --git a/photon-lib/build.gradle b/photon-lib/build.gradle index a06fc532e3..3645931ba5 100644 --- a/photon-lib/build.gradle +++ b/photon-lib/build.gradle @@ -1,4 +1,4 @@ -apply plugin: 'edu.wpi.first.WpilibTools' +apply plugin: 'org.photonvision.tools.WpilibTools' import java.nio.file.Path diff --git a/photon-targeting/build.gradle b/photon-targeting/build.gradle index eef9fa9a08..63e9e46031 100644 --- a/photon-targeting/build.gradle +++ b/photon-targeting/build.gradle @@ -6,7 +6,7 @@ apply plugin: 'cpp' apply plugin: 'c' apply plugin: 'google-test-test-suite' apply plugin: 'edu.wpi.first.NativeUtils' -apply plugin: 'edu.wpi.first.WpilibTools' +apply plugin: 'org.photonvision.tools.WpilibTools' apply plugin: 'edu.wpi.first.GradleJni' ext.licenseFile = file("$rootDir/LICENSE") diff --git a/settings.gradle b/settings.gradle index f23ca6ecf8..2c14858a2d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,13 @@ +pluginManagement { + repositories { + mavenCentral() + gradlePluginPortal() + maven { + url = uri('https://maven.photonvision.org/releases') + } + } +} + include 'photon-targeting' include 'photon-core' include 'photon-server'