Skip to content

Commit

Permalink
fix: resolve bug in version configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
brizzbuzz committed Jan 8, 2022
1 parent 14036f8 commit 6620bc4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.2] - January 8th, 2022
### Added
- Optional root `Project.md` file to include in documentation
### Changed
- Resolved bug in dokka version plugin configuration

## [0.3.1] - January 8th, 2022
### Added
- Overridable documentation root folder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ class RootPlugin : Plugin<Project> {
}
pluginConfiguration<VersioningPlugin, VersioningConfiguration> {
setVersion(version)
olderVersionsDir = rootDir.resolve("dokka")
olderVersionsDir = rootDir.resolve(rootFolder)
}
val projectMd = rootDir.resolve("Project.md")
if (projectMd.exists()) {
includes.from("Project.md")
}
finalizedBy("generateDokkaHomePage")
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Project
project.version=0.3.1
project.version=0.3.2

# Kotlin
kotlin.code.style=official
Expand Down

0 comments on commit 6620bc4

Please sign in to comment.