Skip to content

Commit

Permalink
Fix early version configuration for Gradle Plugin (#2799)
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierSegoviaCordoba committed Jan 11, 2023
1 parent 7544a21 commit 8d1536b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -44,7 +44,7 @@ abstract class AbstractDokkaTask : DefaultTask() {
*/
@Input
val moduleVersion: Property<String> = project.objects.safeProperty<String>()
.safeConvention(project.version.toString())
.safeConvention(project.provider { project.version.toString() })

/**
* Directory to which documentation will be generated, regardless of format.
Expand Down

0 comments on commit 8d1536b

Please sign in to comment.