diff options
author | Javier Segovia Córdoba <7463564+JavierSegoviaCordoba@users.noreply.github.com> | 2023-01-11 22:38:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 22:38:30 +0100 |
commit | 8d1536bdbadbab7e1b89902b0cc920c36a6103ad (patch) | |
tree | 92d86e1c1f12d1ab7c66e84b7a450c504019c744 /runners | |
parent | 7544a215fb580ae0c47d1f397334f150d1a1ec65 (diff) | |
download | dokka-8d1536bdbadbab7e1b89902b0cc920c36a6103ad.tar.gz dokka-8d1536bdbadbab7e1b89902b0cc920c36a6103ad.tar.bz2 dokka-8d1536bdbadbab7e1b89902b0cc920c36a6103ad.zip |
Fix early version configuration for Gradle Plugin (#2799)
Diffstat (limited to 'runners')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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<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. |