mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
Simplify.
This commit is contained in:
parent
083d707345
commit
8fa360949b
1 changed files with 2 additions and 5 deletions
|
@ -43,11 +43,8 @@ class JavaPlugin @Inject constructor(val javaCompiler: JavaCompiler, override va
|
|||
|
||||
// IDocFlagContributor
|
||||
override fun docFlagsFor(project: Project, context: KobaltContext, currentFlags: List<String>,
|
||||
suffixesBeingCompiled: List<String>): List<String> {
|
||||
val config = javadocConfigurations[project.name]
|
||||
val args = config?.args ?: DEFAULT_JAVADOC_ARGS
|
||||
return args
|
||||
}
|
||||
suffixesBeingCompiled: List<String>): List<String>
|
||||
= javadocConfigurations[project.name]?.args ?: DEFAULT_JAVADOC_ARGS
|
||||
|
||||
val DEFAULT_JAVADOC_ARGS = listOf("-d", "javadoc", "-Xdoclint:none", "-Xmaxerrs", "1", "-quiet")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue