mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-16 04:11:39 +01:00
Fix javadoc search resulting in 404
This commit is contained in:
parent
43069a02a7
commit
3e43e68cf9
10
build.gradle
10
build.gradle
@ -50,6 +50,16 @@ allprojects {
|
||||
links "https://jd.adventure.kyori.net/api/$adventureVersion/"
|
||||
links "https://docs.oracle.com/en/java/javase/11/docs/api/"
|
||||
}
|
||||
|
||||
// see https://stackoverflow.com/a/56641766
|
||||
doLast {
|
||||
// Append the fix to the file
|
||||
def searchScript = new File(destinationDir.getAbsolutePath() + '/search.js')
|
||||
searchScript.append '\n\n' +
|
||||
'getURLPrefix = function(ui) {\n' +
|
||||
' return \'\';\n' +
|
||||
'};\n'
|
||||
}
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
|
Loading…
Reference in New Issue
Block a user