From 8d1536bdbadbab7e1b89902b0cc920c36a6103ad Mon Sep 17 00:00:00 2001 From: Javier Segovia Córdoba <7463564+JavierSegoviaCordoba@users.noreply.github.com> Date: Wed, 11 Jan 2023 22:38:30 +0100 Subject: Fix early version configuration for Gradle Plugin (#2799) --- .../src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka') diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt index 0fb62b30..dbd86fac 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt @@ -44,7 +44,7 @@ abstract class AbstractDokkaTask : DefaultTask() { */ @Input val moduleVersion: Property = project.objects.safeProperty() - .safeConvention(project.version.toString()) + .safeConvention(project.provider { project.version.toString() }) /** * Directory to which documentation will be generated, regardless of format. -- cgit