Skip to content

Commit

Permalink
Fix some Javadoc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Mar 4, 2024
1 parent d5a17f0 commit 419fd5e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dsl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,15 @@ javadoc {
options.tagletPath = (configurations.doclet.files + sourceSets.examples.allSource.srcDirs) as List
options.taglets = ['cd.go.contrib.plugins.configrepo.doclet.IncludeCodeTaglet']

// workaround for https://bugs.openjdk.java.net/browse/JDK-8212233
options.source = '8'
options.encoding = 'utf-8'
options.addStringOption '-Xdoclint:-syntax,-html,-reference,-accessibility'
options.addBooleanOption('html5', true)

options.overview('overview.html')
options.showFromPublic()

options.links('https://docs.oracle.com/javase/9/docs/api', "http://docs.groovy-lang.org/docs/groovy-${project.vers.groovyVersion}/html/gapi")
options.links("https://docs.oracle.com/en/java/javase/${project.sourceCompatibility}/docs/api", "https://docs.groovy-lang.org/docs/groovy-${project.vers.groovyVersion}/html/gapi")
title = "GoCD Groovy DSL API ${version}"
options.footer = 'Copyright (c) 2019 Thoughtworks, Inc.'
}

publishing {
Expand Down

0 comments on commit 419fd5e

Please sign in to comment.