Skip to content

Instantly share code, notes, and snippets.

@Vinetos
Last active May 5, 2018 08:03
Show Gist options
  • Save Vinetos/ebfa9cc245d645a1737b218e4d319a3d to your computer and use it in GitHub Desktop.
Save Vinetos/ebfa9cc245d645a1737b218e4d319a3d to your computer and use it in GitHub Desktop.
Generate HTML5 Javadoc with Gradle
// Configure javadoc generation
javadoc {
doFirst {
// Generate HTML5 javadoc
options.addBooleanOption('html5', true)
// OPTIONAL - Define window and doc titles
options.setWindowTitle('My Project | Javadoc')
options.setDocTitle('My Project')
// OPTIONAL - Some usefull options
options.setUse(true)
options.setVersion(true)
options.setAuthor(true)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment