mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Generate javadocs in {build}/docs/javadoc.
This commit is contained in:
parent
ffbe5491f2
commit
f563d274dd
4 changed files with 19 additions and 15 deletions
|
@ -44,11 +44,12 @@ class KotlinCompiler @Inject constructor(
|
|||
}
|
||||
val cp = compilerFirst(info.dependencies.map { it.jarFile.get() })
|
||||
val infoDir = info.directory
|
||||
val outputDir = if (infoDir != null) {
|
||||
KFiles.joinDir(infoDir, info.outputDir.path)
|
||||
} else {
|
||||
info.outputDir.path
|
||||
}
|
||||
val outputDir =
|
||||
if (infoDir != null) {
|
||||
KFiles.joinDir(infoDir, info.outputDir.path)
|
||||
} else {
|
||||
info.outputDir.path
|
||||
}
|
||||
// kotlinc can accept a jar file as -d (which is super convenient) so only
|
||||
// create a directory if the output is not a jar file
|
||||
if (! outputDir.endsWith(".jar")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue