user
05/23/2016, 3:15 AMdokka {
moduleName = 'data'
outputFormat = 'javadoc'
outputDirectory = "$buildDir/javadoc"
processConfigurations = ['compile']
sourceDirs = files('src/main/java')
}
Class:
data class Person internal constructor(
val name: String = "",
val age: Int = 0
)
The internal constructor (both parameterless and the one accepting a String and an integer) are included in the Javadoc, although they are internal and should be excluded.