aboutsummaryrefslogtreecommitdiff
path: root/plugins/all-modules-page
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-06-21 11:44:55 +0200
committerGitHub <noreply@github.com>2021-06-21 11:44:55 +0200
commit2832b9a111ba3af0212cbc180e8b1535b8359a15 (patch)
treef463b0e12e520659691d782697d3ba13b8c0bf45 /plugins/all-modules-page
parenta0b77276242ec227f98bf69ed878b9d71c1c5888 (diff)
downloaddokka-2832b9a111ba3af0212cbc180e8b1535b8359a15.tar.gz
dokka-2832b9a111ba3af0212cbc180e8b1535b8359a15.tar.bz2
dokka-2832b9a111ba3af0212cbc180e8b1535b8359a15.zip
Don't use older dir from previous runs in versioning (#1963)
Diffstat (limited to 'plugins/all-modules-page')
-rw-r--r--plugins/all-modules-page/build.gradle.kts3
-rw-r--r--plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt2
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/all-modules-page/build.gradle.kts b/plugins/all-modules-page/build.gradle.kts
index dd423949..ac38afe1 100644
--- a/plugins/all-modules-page/build.gradle.kts
+++ b/plugins/all-modules-page/build.gradle.kts
@@ -20,5 +20,6 @@ dependencies {
val kotlinx_html_version: String by project
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")
- implementation("org.jsoup:jsoup:1.13.1")
+ val jsoup_version: String by project
+ implementation("org.jsoup:jsoup:$jsoup_version")
} \ No newline at end of file
diff --git a/plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt b/plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt
index 782ee16e..4285046a 100644
--- a/plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt
+++ b/plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt
@@ -63,7 +63,7 @@ class MultimodulePageCreator(
header(2, "All modules:")
table(styles = setOf(MultimoduleTable)) {
header { group { text("Name") } }
- modules.filter { it.name in creationContext.nonEmptyModules }.sortedByDescending { it.name }
+ modules.filter { it.name in creationContext.nonEmptyModules }.sortedBy { it.name }
.forEach { module ->
val displayedModuleDocumentation = getDisplayedModuleDocumentation(module)
val dri = DRI(packageName = MULTIMODULE_PACKAGE_PLACEHOLDER, classNames = module.name)