From df71d271ff65424e411246fce9d690ce7dc9ff5f Mon Sep 17 00:00:00 2001 From: thenetworkgrinch Date: Wed, 23 Oct 2024 15:09:12 -0500 Subject: [PATCH 1/4] Added javadoc link to WPILib docs and oracle java docs. --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index d09a147..4123974 100644 --- a/build.gradle +++ b/build.gradle @@ -37,6 +37,13 @@ dependencies { implementation 'edu.wpi.first.thirdparty.frc2024.opencv:opencv-java:4.8.0-4' } +// Setup Javadocs to link back to WPILib docs +javadoc { + options { + links 'https://docs.oracle.com/en/java/javase/11/docs/api/', 'https://github.wpilib.org/allwpilib/docs/release/java/' + } +} + // Set up exports properly nativeUtils { exportsConfigs { From 865ac3a96921920ccf575056b8e8abd9f77515f9 Mon Sep 17 00:00:00 2001 From: T Grinch <10247070+thenetworkgrinch@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:58:10 -0500 Subject: [PATCH 2/4] Update javadocs link to java17 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4123974..5639d77 100644 --- a/build.gradle +++ b/build.gradle @@ -40,7 +40,7 @@ dependencies { // Setup Javadocs to link back to WPILib docs javadoc { options { - links 'https://docs.oracle.com/en/java/javase/11/docs/api/', 'https://github.wpilib.org/allwpilib/docs/release/java/' + links 'https://docs.oracle.com/en/java/javase/17/docs/api/', 'https://github.wpilib.org/allwpilib/docs/release/java/' } } From 3427826caf7c379c51855517f8faf1c697733beb Mon Sep 17 00:00:00 2001 From: T Grinch <10247070+thenetworkgrinch@users.noreply.github.com> Date: Mon, 2 Dec 2024 23:39:09 -0600 Subject: [PATCH 3/4] Update build.gradle --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 490c35c..4c42b4e 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,7 @@ java { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } +javaVersion = "17" // Apply C++ configuration apply from: 'config.gradle' @@ -45,7 +46,7 @@ dependencies { // Setup Javadocs to link back to WPILib docs javadoc { options { - links 'https://docs.oracle.com/en/java/javase/17/docs/api/', 'https://github.wpilib.org/allwpilib/docs/release/java/' + links "https://docs.oracle.com/en/java/javase/$javaVersion/docs/api/", 'https://github.wpilib.org/allwpilib/docs/release/java/' } } From 8eb1e9b5fb17e93258456e1467fc57db8c10808a Mon Sep 17 00:00:00 2001 From: thenetworkgrinch Date: Mon, 2 Dec 2024 23:50:48 -0600 Subject: [PATCH 4/4] Fix variable to integer. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4c42b4e..4f1ca3a 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ java { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } -javaVersion = "17" +var javaVersion = "17" // Apply C++ configuration apply from: 'config.gradle'