Skip to content

Commit

Permalink
Add javadoc link to WPILib docs and oracle java docs. (#40)
Browse files Browse the repository at this point in the history
* Added javadoc link to WPILib docs and oracle java docs.

* Update javadocs link to java17

* Update build.gradle

* Fix variable to integer.

---------

Co-authored-by: thenetworkgrinch <[email protected]>
  • Loading branch information
thenetworkgrinch and thenetworkgrinch authored Dec 3, 2024
1 parent 464d8b6 commit 136fdda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
var javaVersion = "17"

// Apply C++ configuration
apply from: 'config.gradle'
Expand All @@ -45,6 +46,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 {
Expand Down

0 comments on commit 136fdda

Please sign in to comment.