Add javadoc link to WPILib docs and oracle java docs. (#40)
* 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 <thenetworkgrinch@users.noreply.github.com>
This commit is contained in:
parent
464d8b6acc
commit
136fdda420
@ -24,6 +24,7 @@ java {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
var javaVersion = "17"
|
||||
|
||||
// Apply C++ configuration
|
||||
apply from: 'config.gradle'
|
||||
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user