diff --git a/build.gradle b/build.gradle index 1773efb..4f1ca3a 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,7 @@ java { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } +var javaVersion = "17" // Apply C++ configuration apply from: 'config.gradle' @@ -42,6 +43,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/$javaVersion/docs/api/", 'https://github.wpilib.org/allwpilib/docs/release/java/' + } +} + // Set up exports properly nativeUtils { exportsConfigs {