mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
@@ -5,7 +5,7 @@ plugins {
|
|||||||
id "cpp"
|
id "cpp"
|
||||||
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 "2025.1.1-beta-1"
|
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-2"
|
||||||
id 'edu.wpi.first.WpilibTools' version '1.3.0'
|
id 'edu.wpi.first.WpilibTools' version '1.3.0'
|
||||||
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'
|
||||||
@@ -30,7 +30,7 @@ ext.allOutputsFolder = file("$project.buildDir/outputs")
|
|||||||
apply from: "versioningHelper.gradle"
|
apply from: "versioningHelper.gradle"
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
wpilibVersion = "2025.1.1-beta-1"
|
wpilibVersion = "2025.1.1-beta-2"
|
||||||
wpimathVersion = wpilibVersion
|
wpimathVersion = wpilibVersion
|
||||||
openCVYear = "2024"
|
openCVYear = "2024"
|
||||||
openCVversion = "4.8.0-4"
|
openCVversion = "4.8.0-4"
|
||||||
@@ -109,7 +109,7 @@ spotless {
|
|||||||
}
|
}
|
||||||
|
|
||||||
wrapper {
|
wrapper {
|
||||||
gradleVersion '8.4'
|
gradleVersion '8.11'
|
||||||
}
|
}
|
||||||
|
|
||||||
ext.getCurrentArch = {
|
ext.getCurrentArch = {
|
||||||
|
|||||||
@@ -6,3 +6,4 @@ org.gradle.jvmargs= \
|
|||||||
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
|
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
|
||||||
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
|
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
|
||||||
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
|
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
|
||||||
|
org.ysb33r.gradle.doxygen.download.url=https://frcmaven.wpi.edu/artifactory/generic-release-mirror/doxygen
|
||||||
|
|||||||
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=permwrapper/dists
|
distributionPath=permwrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
7
gradlew
vendored
7
gradlew
vendored
@@ -15,6 +15,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
@@ -55,7 +57,7 @@
|
|||||||
# Darwin, MinGW, and NonStop.
|
# Darwin, MinGW, and NonStop.
|
||||||
#
|
#
|
||||||
# (3) This script is generated from the Groovy template
|
# (3) This script is generated from the Groovy template
|
||||||
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||||
# within the Gradle project.
|
# within the Gradle project.
|
||||||
#
|
#
|
||||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||||
@@ -84,7 +86,8 @@ done
|
|||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
APP_BASE_NAME=${0##*/}
|
APP_BASE_NAME=${0##*/}
|
||||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||||
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
|
||||||
|
' "$PWD" ) || exit
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD=maximum
|
MAX_FD=maximum
|
||||||
|
|||||||
22
gradlew.bat
vendored
22
gradlew.bat
vendored
@@ -13,6 +13,8 @@
|
|||||||
@rem See the License for the specific language governing permissions and
|
@rem See the License for the specific language governing permissions and
|
||||||
@rem limitations under the License.
|
@rem limitations under the License.
|
||||||
@rem
|
@rem
|
||||||
|
@rem SPDX-License-Identifier: Apache-2.0
|
||||||
|
@rem
|
||||||
|
|
||||||
@if "%DEBUG%"=="" @echo off
|
@if "%DEBUG%"=="" @echo off
|
||||||
@rem ##########################################################################
|
@rem ##########################################################################
|
||||||
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
|
|||||||
%JAVA_EXE% -version >NUL 2>&1
|
%JAVA_EXE% -version >NUL 2>&1
|
||||||
if %ERRORLEVEL% equ 0 goto execute
|
if %ERRORLEVEL% equ 0 goto execute
|
||||||
|
|
||||||
echo.
|
echo. 1>&2
|
||||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
||||||
echo.
|
echo. 1>&2
|
||||||
echo Please set the JAVA_HOME variable in your environment to match the
|
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||||
echo location of your Java installation.
|
echo location of your Java installation. 1>&2
|
||||||
|
|
||||||
goto fail
|
goto fail
|
||||||
|
|
||||||
@@ -57,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|||||||
|
|
||||||
if exist "%JAVA_EXE%" goto execute
|
if exist "%JAVA_EXE%" goto execute
|
||||||
|
|
||||||
echo.
|
echo. 1>&2
|
||||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
||||||
echo.
|
echo. 1>&2
|
||||||
echo Please set the JAVA_HOME variable in your environment to match the
|
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||||
echo location of your Java installation.
|
echo location of your Java installation. 1>&2
|
||||||
|
|
||||||
goto fail
|
goto fail
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id "org.ysb33r.doxygen" version "0.7.0"
|
id "org.ysb33r.doxygen" version "1.0.4"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -36,15 +36,16 @@ doxygen {
|
|||||||
String arch = System.getProperty("os.arch");
|
String arch = System.getProperty("os.arch");
|
||||||
if (arch.equals("x86_64") || arch.equals("amd64")) {
|
if (arch.equals("x86_64") || arch.equals("amd64")) {
|
||||||
executables {
|
executables {
|
||||||
doxygen version : '1.9.4',
|
doxygen {
|
||||||
baseURI : 'https://frcmaven.wpi.edu/artifactory/generic-release-mirror/doxygen'
|
executableByVersion('1.12.0')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
doxygen {
|
doxygen {
|
||||||
generate_html true
|
option 'generate_html', true
|
||||||
html_extra_stylesheet 'theme.css'
|
option 'html_extra_stylesheet', 'theme.css'
|
||||||
|
|
||||||
cppProjectZips.each {
|
cppProjectZips.each {
|
||||||
dependsOn it
|
dependsOn it
|
||||||
@@ -53,126 +54,37 @@ doxygen {
|
|||||||
cppIncludeRoots.add(it.absolutePath)
|
cppIncludeRoots.add(it.absolutePath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cppIncludeRoots << '../ntcore/build/generated/main/native/include/'
|
option 'case_sense_names', false
|
||||||
|
option 'extension_mapping', 'inc=C++ no_extension=C++'
|
||||||
if (project.hasProperty('docWarningsAsErrors')) {
|
option 'extract_all', true
|
||||||
// Eigen
|
option 'extract_static', true
|
||||||
exclude 'Eigen/**'
|
option 'file_patterns', '*'
|
||||||
exclude 'unsupported/**'
|
option 'full_path_names', true
|
||||||
|
option 'generate_html', true
|
||||||
// LLVM
|
option 'generate_latex', false
|
||||||
exclude 'wpi/AlignOf.h'
|
option 'generate_treeview', true
|
||||||
exclude 'wpi/Casting.h'
|
option 'html_extra_stylesheet', 'theme.css'
|
||||||
exclude 'wpi/Chrono.h'
|
option 'html_timestamp', true
|
||||||
exclude 'wpi/Compiler.h'
|
option 'javadoc_autobrief', true
|
||||||
exclude 'wpi/ConvertUTF.h'
|
option 'project_name', 'PhotonVision C++'
|
||||||
exclude 'wpi/DenseMap.h'
|
option 'project_logo', '../docs/source/assets/RoundLogo.png'
|
||||||
exclude 'wpi/DenseMapInfo.h'
|
option 'project_number', pubVersion
|
||||||
exclude 'wpi/Endian.h'
|
option 'quiet', true
|
||||||
exclude 'wpi/EpochTracker.h'
|
option 'recursive', true
|
||||||
exclude 'wpi/Errc.h'
|
option 'strip_code_comments', false
|
||||||
exclude 'wpi/Errno.h'
|
option 'strip_from_inc_path', cppIncludeRoots
|
||||||
exclude 'wpi/ErrorHandling.h'
|
option 'strip_from_path', cppIncludeRoots
|
||||||
exclude 'wpi/bit.h'
|
option 'use_mathjax', true
|
||||||
exclude 'wpi/fs.h'
|
option 'warnings', false
|
||||||
exclude 'wpi/FunctionExtras.h'
|
option 'warn_if_incomplete_doc', true
|
||||||
exclude 'wpi/function_ref.h'
|
option 'warn_if_undocumented', false
|
||||||
exclude 'wpi/Hashing.h'
|
option 'warn_no_paramdoc', true
|
||||||
exclude 'wpi/iterator.h'
|
|
||||||
exclude 'wpi/iterator_range.h'
|
|
||||||
exclude 'wpi/ManagedStatic.h'
|
|
||||||
exclude 'wpi/MapVector.h'
|
|
||||||
exclude 'wpi/MathExtras.h'
|
|
||||||
exclude 'wpi/MemAlloc.h'
|
|
||||||
exclude 'wpi/PointerIntPair.h'
|
|
||||||
exclude 'wpi/PointerLikeTypeTraits.h'
|
|
||||||
exclude 'wpi/PointerUnion.h'
|
|
||||||
exclude 'wpi/raw_os_ostream.h'
|
|
||||||
exclude 'wpi/raw_ostream.h'
|
|
||||||
exclude 'wpi/SmallPtrSet.h'
|
|
||||||
exclude 'wpi/SmallSet.h'
|
|
||||||
exclude 'wpi/SmallString.h'
|
|
||||||
exclude 'wpi/SmallVector.h'
|
|
||||||
exclude 'wpi/StringExtras.h'
|
|
||||||
exclude 'wpi/StringMap.h'
|
|
||||||
exclude 'wpi/SwapByteOrder.h'
|
|
||||||
exclude 'wpi/type_traits.h'
|
|
||||||
exclude 'wpi/VersionTuple.h'
|
|
||||||
exclude 'wpi/WindowsError.h'
|
|
||||||
|
|
||||||
// fmtlib
|
|
||||||
exclude 'fmt/**'
|
|
||||||
|
|
||||||
// libuv
|
|
||||||
exclude 'uv.h'
|
|
||||||
exclude 'uv/**'
|
|
||||||
exclude 'wpinet/uv/**'
|
|
||||||
|
|
||||||
// json
|
|
||||||
exclude 'wpi/adl_serializer.h'
|
|
||||||
exclude 'wpi/byte_container_with_subtype.h'
|
|
||||||
exclude 'wpi/detail/**'
|
|
||||||
exclude 'wpi/json.h'
|
|
||||||
exclude 'wpi/json_fwd.h'
|
|
||||||
exclude 'wpi/ordered_map.h'
|
|
||||||
exclude 'wpi/thirdparty/**'
|
|
||||||
|
|
||||||
// memory
|
|
||||||
exclude 'wpi/memory/**'
|
|
||||||
|
|
||||||
// mpack
|
|
||||||
exclude 'wpi/mpack.h'
|
|
||||||
|
|
||||||
// units
|
|
||||||
exclude 'units/**'
|
|
||||||
}
|
|
||||||
|
|
||||||
//TODO: building memory docs causes search to break
|
|
||||||
exclude 'wpi/memory/**'
|
|
||||||
|
|
||||||
exclude '*.pb.h'
|
|
||||||
|
|
||||||
// Save space by excluding protobuf and eigen
|
|
||||||
exclude 'Eigen/**'
|
|
||||||
exclude 'google/protobuf/**'
|
|
||||||
|
|
||||||
aliases 'effects=\\par <i>Effects:</i>^^',
|
|
||||||
'notes=\\par <i>Notes:</i>^^',
|
|
||||||
'requires=\\par <i>Requires:</i>^^',
|
|
||||||
'requiredbe=\\par <i>Required Behavior:</i>^^',
|
|
||||||
'concept{2}=<a href=\"md_doc_concepts.html#\1\">\2</a>',
|
|
||||||
'defaultbe=\\par <i>Default Behavior:</i>^^'
|
|
||||||
case_sense_names false
|
|
||||||
extension_mapping 'inc=C++', 'no_extension=C++'
|
|
||||||
extract_all true
|
|
||||||
extract_static true
|
|
||||||
file_patterns '*'
|
|
||||||
full_path_names true
|
|
||||||
generate_html true
|
|
||||||
generate_latex false
|
|
||||||
generate_treeview true
|
|
||||||
html_extra_stylesheet 'theme.css'
|
|
||||||
html_timestamp true
|
|
||||||
javadoc_autobrief true
|
|
||||||
project_name 'PhotonVision C++'
|
|
||||||
project_logo '../photon-client/src/assets/images/logoSmall.svg'
|
|
||||||
project_number pubVersion
|
|
||||||
quiet true
|
|
||||||
recursive true
|
|
||||||
strip_code_comments false
|
|
||||||
strip_from_inc_path cppIncludeRoots as String[]
|
|
||||||
strip_from_path cppIncludeRoots as String[]
|
|
||||||
use_mathjax true
|
|
||||||
warnings false
|
|
||||||
warn_if_incomplete_doc true
|
|
||||||
warn_if_undocumented false
|
|
||||||
warn_no_paramdoc true
|
|
||||||
|
|
||||||
//enable doxygen preprocessor expansion of WPI_DEPRECATED to fix MotorController docs
|
//enable doxygen preprocessor expansion of WPI_DEPRECATED to fix MotorController docs
|
||||||
enable_preprocessing true
|
option 'enable_preprocessing', true
|
||||||
macro_expansion true
|
option 'macro_expansion', true
|
||||||
expand_only_predef true
|
option 'expand_only_predef', true
|
||||||
predefined "WPI_DEPRECATED(x)=[[deprecated(x)]]\"\\\n" +
|
option 'predefined', "WPI_DEPRECATED(x)=[[deprecated(x)]]\"\\\n" +
|
||||||
"\"__cplusplus\"\\\n" +
|
"\"__cplusplus\"\\\n" +
|
||||||
"\"HAL_ENUM(name)=enum name : int32_t"
|
"\"HAL_ENUM(name)=enum name : int32_t"
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -25,13 +25,7 @@ import edu.wpi.first.apriltag.jni.AprilTagJNI;
|
|||||||
import edu.wpi.first.cscore.CameraServerJNI;
|
import edu.wpi.first.cscore.CameraServerJNI;
|
||||||
import edu.wpi.first.cscore.OpenCvLoader;
|
import edu.wpi.first.cscore.OpenCvLoader;
|
||||||
import edu.wpi.first.hal.JNIWrapper;
|
import edu.wpi.first.hal.JNIWrapper;
|
||||||
import edu.wpi.first.math.jni.ArmFeedforwardJNI;
|
import edu.wpi.first.math.jni.WPIMathJNI;
|
||||||
import edu.wpi.first.math.jni.DAREJNI;
|
|
||||||
import edu.wpi.first.math.jni.EigenJNI;
|
|
||||||
import edu.wpi.first.math.jni.Ellipse2dJNI;
|
|
||||||
import edu.wpi.first.math.jni.Pose3dJNI;
|
|
||||||
import edu.wpi.first.math.jni.StateSpaceUtilJNI;
|
|
||||||
import edu.wpi.first.math.jni.TrajectoryUtilJNI;
|
|
||||||
import edu.wpi.first.net.WPINetJNI;
|
import edu.wpi.first.net.WPINetJNI;
|
||||||
import edu.wpi.first.networktables.NetworkTablesJNI;
|
import edu.wpi.first.networktables.NetworkTablesJNI;
|
||||||
import edu.wpi.first.util.CombinedRuntimeLoader;
|
import edu.wpi.first.util.CombinedRuntimeLoader;
|
||||||
@@ -48,18 +42,8 @@ public class WpilibLoader {
|
|||||||
OpenCvLoader.Helper.setExtractOnStaticLoad(false);
|
OpenCvLoader.Helper.setExtractOnStaticLoad(false);
|
||||||
JNIWrapper.Helper.setExtractOnStaticLoad(false);
|
JNIWrapper.Helper.setExtractOnStaticLoad(false);
|
||||||
WPINetJNI.Helper.setExtractOnStaticLoad(false);
|
WPINetJNI.Helper.setExtractOnStaticLoad(false);
|
||||||
|
WPIMathJNI.Helper.setExtractOnStaticLoad(false);
|
||||||
AprilTagJNI.Helper.setExtractOnStaticLoad(false);
|
AprilTagJNI.Helper.setExtractOnStaticLoad(false);
|
||||||
|
|
||||||
// wpimathjni is a bit odd, it's all in the wpimathjni shared lib, but the java side stuff has
|
|
||||||
// been split.
|
|
||||||
ArmFeedforwardJNI.Helper.setExtractOnStaticLoad(false);
|
|
||||||
DAREJNI.Helper.setExtractOnStaticLoad(false);
|
|
||||||
EigenJNI.Helper.setExtractOnStaticLoad(false);
|
|
||||||
Ellipse2dJNI.Helper.setExtractOnStaticLoad(false);
|
|
||||||
Pose3dJNI.Helper.setExtractOnStaticLoad(false);
|
|
||||||
StateSpaceUtilJNI.Helper.setExtractOnStaticLoad(false);
|
|
||||||
TrajectoryUtilJNI.Helper.setExtractOnStaticLoad(false);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
CombinedRuntimeLoader.loadLibraries(
|
CombinedRuntimeLoader.loadLibraries(
|
||||||
WpilibLoader.class,
|
WpilibLoader.class,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "cpp"
|
id "cpp"
|
||||||
id "google-test-test-suite"
|
id "google-test-test-suite"
|
||||||
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-1"
|
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-2"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -11,8 +11,8 @@ repositories {
|
|||||||
|
|
||||||
wpi.maven.useLocal = false
|
wpi.maven.useLocal = false
|
||||||
wpi.maven.useDevelopment = false
|
wpi.maven.useDevelopment = false
|
||||||
wpi.versions.wpilibVersion = "2025.1.1-beta-1"
|
wpi.versions.wpilibVersion = "2025.1.1-beta-2"
|
||||||
wpi.versions.wpimathVersion = "2025.1.1-beta-1"
|
wpi.versions.wpimathVersion = "2025.1.1-beta-2"
|
||||||
|
|
||||||
// Define my targets (RoboRIO) and artifacts (deployable files)
|
// Define my targets (RoboRIO) and artifacts (deployable files)
|
||||||
// This is added by GradleRIO's backing project DeployUtils.
|
// This is added by GradleRIO's backing project DeployUtils.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "cpp"
|
id "cpp"
|
||||||
id "google-test-test-suite"
|
id "google-test-test-suite"
|
||||||
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-1"
|
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-2"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -11,8 +11,8 @@ repositories {
|
|||||||
|
|
||||||
wpi.maven.useLocal = false
|
wpi.maven.useLocal = false
|
||||||
wpi.maven.useDevelopment = false
|
wpi.maven.useDevelopment = false
|
||||||
wpi.versions.wpilibVersion = "2025.1.1-beta-1"
|
wpi.versions.wpilibVersion = "2025.1.1-beta-2"
|
||||||
wpi.versions.wpimathVersion = "2025.1.1-beta-1"
|
wpi.versions.wpimathVersion = "2025.1.1-beta-2"
|
||||||
|
|
||||||
// Define my targets (RoboRIO) and artifacts (deployable files)
|
// Define my targets (RoboRIO) and artifacts (deployable files)
|
||||||
// This is added by GradleRIO's backing project DeployUtils.
|
// This is added by GradleRIO's backing project DeployUtils.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "cpp"
|
id "cpp"
|
||||||
id "google-test-test-suite"
|
id "google-test-test-suite"
|
||||||
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-1"
|
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-2"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -11,8 +11,8 @@ repositories {
|
|||||||
|
|
||||||
wpi.maven.useLocal = false
|
wpi.maven.useLocal = false
|
||||||
wpi.maven.useDevelopment = false
|
wpi.maven.useDevelopment = false
|
||||||
wpi.versions.wpilibVersion = "2025.1.1-beta-1"
|
wpi.versions.wpilibVersion = "2025.1.1-beta-2"
|
||||||
wpi.versions.wpimathVersion = "2025.1.1-beta-1"
|
wpi.versions.wpimathVersion = "2025.1.1-beta-2"
|
||||||
|
|
||||||
// Define my targets (RoboRIO) and artifacts (deployable files)
|
// Define my targets (RoboRIO) and artifacts (deployable files)
|
||||||
// This is added by GradleRIO's backing project DeployUtils.
|
// This is added by GradleRIO's backing project DeployUtils.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "java"
|
id "java"
|
||||||
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-1"
|
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-2"
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
sourceCompatibility = JavaVersion.VERSION_11
|
||||||
@@ -13,8 +13,8 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
wpi.maven.useDevelopment = true
|
wpi.maven.useDevelopment = true
|
||||||
wpi.versions.wpilibVersion = "2025.1.1-beta-1"
|
wpi.versions.wpilibVersion = "2025.1.1-beta-2"
|
||||||
wpi.versions.wpimathVersion = "2025.1.1-beta-1"
|
wpi.versions.wpimathVersion = "2025.1.1-beta-2"
|
||||||
|
|
||||||
|
|
||||||
// Define my targets (RoboRIO) and artifacts (deployable files)
|
// Define my targets (RoboRIO) and artifacts (deployable files)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "java"
|
id "java"
|
||||||
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-1"
|
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-2"
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
sourceCompatibility = JavaVersion.VERSION_11
|
||||||
@@ -9,8 +9,8 @@ targetCompatibility = JavaVersion.VERSION_11
|
|||||||
def ROBOT_MAIN_CLASS = "frc.robot.Main"
|
def ROBOT_MAIN_CLASS = "frc.robot.Main"
|
||||||
|
|
||||||
wpi.maven.useDevelopment = true
|
wpi.maven.useDevelopment = true
|
||||||
wpi.versions.wpilibVersion = "2025.1.1-beta-1"
|
wpi.versions.wpilibVersion = "2025.1.1-beta-2"
|
||||||
wpi.versions.wpimathVersion = "2025.1.1-beta-1"
|
wpi.versions.wpimathVersion = "2025.1.1-beta-2"
|
||||||
|
|
||||||
|
|
||||||
// Define my targets (RoboRIO) and artifacts (deployable files)
|
// Define my targets (RoboRIO) and artifacts (deployable files)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "java"
|
id "java"
|
||||||
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-1"
|
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-2"
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
sourceCompatibility = JavaVersion.VERSION_11
|
||||||
@@ -9,8 +9,8 @@ targetCompatibility = JavaVersion.VERSION_11
|
|||||||
def ROBOT_MAIN_CLASS = "frc.robot.Main"
|
def ROBOT_MAIN_CLASS = "frc.robot.Main"
|
||||||
|
|
||||||
wpi.maven.useDevelopment = true
|
wpi.maven.useDevelopment = true
|
||||||
wpi.versions.wpilibVersion = "2025.1.1-beta-1"
|
wpi.versions.wpilibVersion = "2025.1.1-beta-2"
|
||||||
wpi.versions.wpimathVersion = "2025.1.1-beta-1"
|
wpi.versions.wpimathVersion = "2025.1.1-beta-2"
|
||||||
|
|
||||||
|
|
||||||
// Define my targets (RoboRIO) and artifacts (deployable files)
|
// Define my targets (RoboRIO) and artifacts (deployable files)
|
||||||
|
|||||||
Reference in New Issue
Block a user