Skip to content

Commit

Permalink
Remove javadoc search workaround (#789)
Browse files Browse the repository at this point in the history
Fix was backported to Java 11
  • Loading branch information
sciencewhiz authored Dec 3, 2023
1 parent fd35b1a commit db4ef1f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ ext.addTaskToCopyAllOutputs = { task ->
copyAllOutputs.from task.archivePath
}

//TODO: Remove when we upgrade to Java 12
final JAVADOC_FIX_SEARCH_STR = '\n\n' +
'getURLPrefix = function(ui) {\n' +
' return \'\';\n' +
'};\n'

allprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
Expand Down Expand Up @@ -208,12 +202,6 @@ allprojects {
'implSpec:a:Implementation Requirements:',
'implNote:a:Implementation Note:'
)

doLast {
// Append the fix to the file
def searchScript = new File(destinationDir.getAbsolutePath() + '/search.js')
searchScript.append JAVADOC_FIX_SEARCH_STR
}
}

tasks.withType(GenerateModuleMetadata) {
Expand Down Expand Up @@ -287,12 +275,6 @@ allprojects {
'implSpec:a:Implementation Requirements:',
'implNote:a:Implementation Note:'
)

doLast {
// Append the fix to the file
def searchScript = new File(destinationDir.getAbsolutePath() + '/search.js')
searchScript.append JAVADOC_FIX_SEARCH_STR
}
}
}

Expand Down

0 comments on commit db4ef1f

Please sign in to comment.