Skip to content

Commit

Permalink
Track module descriptors as inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Jan 19, 2020
1 parent 807e71c commit 3495806
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion documentation/documentation.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ tasks {
noTimestamp(true)

addStringsOption("-module", ",").value = modularProjects.map { it.javaModuleName }
addPathOption("-module-source-path").value = modularProjects.map { it.file("src/module") }
val moduleSourcePathOption = addPathOption("-module-source-path")
moduleSourcePathOption.value = modularProjects.map { it.file("src/module") }
moduleSourcePathOption.value.forEach { inputs.dir(it) }
addOption(ModuleSpecificJavadocFileOption("-patch-module", modularProjects.associate {
it.javaModuleName to files(it.sourceSets.main.get().allJava.srcDirs, it.sourceSets.mainRelease9.get().allJava.srcDirs).asPath
}))
Expand Down

0 comments on commit 3495806

Please sign in to comment.