aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src/main/kotlin/org/jetbrains
diff options
context:
space:
mode:
authorJavier Segovia Córdoba <7463564+JavierSegoviaCordoba@users.noreply.github.com>2023-01-11 22:38:30 +0100
committerGitHub <noreply@github.com>2023-01-11 22:38:30 +0100
commit8d1536bdbadbab7e1b89902b0cc920c36a6103ad (patch)
tree92d86e1c1f12d1ab7c66e84b7a450c504019c744 /runners/gradle-plugin/src/main/kotlin/org/jetbrains
parent7544a215fb580ae0c47d1f397334f150d1a1ec65 (diff)
downloaddokka-8d1536bdbadbab7e1b89902b0cc920c36a6103ad.tar.gz
dokka-8d1536bdbadbab7e1b89902b0cc920c36a6103ad.tar.bz2
dokka-8d1536bdbadbab7e1b89902b0cc920c36a6103ad.zip
Fix early version configuration for Gradle Plugin (#2799)
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/org/jetbrains')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt2
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.