From 2832b9a111ba3af0212cbc180e8b1535b8359a15 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Mon, 21 Jun 2021 11:44:55 +0200 Subject: Don't use older dir from previous runs in versioning (#1963) --- plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt') 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) -- cgit