[Gradle] Slight improvement for generated compiler options KDoc
Separated possible and default value from the description. ^KT-58858 In Progress
This commit is contained in:
committed by
Space Team
parent
aeaaf6dd8e
commit
c26b5ca365
@@ -912,8 +912,10 @@ private fun Printer.generateDoc(property: KProperty1<*, *>) {
|
||||
println("/**")
|
||||
println(" * ${description.replace("\n", " ")}")
|
||||
if (possibleValues != null) {
|
||||
println(" *")
|
||||
println(" * Possible values: ${possibleValues.joinToString()}")
|
||||
}
|
||||
println(" *")
|
||||
println(" * Default value: ${defaultValue.removePrefix("$OPTIONS_PACKAGE_PREFIX.")}")
|
||||
println(" */")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user