diff options
Diffstat (limited to 'core/build.gradle.kts')
-rw-r--r-- | core/build.gradle.kts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 5051707b..ad3394a6 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -1,3 +1,4 @@ +import org.jetbrains.dokkaVersion import org.jetbrains.registerDokkaArtifactPublication plugins { @@ -17,11 +18,11 @@ dependencies { tasks { processResources { - val dokka_version: String by project + inputs.property("dokkaVersion", dokkaVersion) eachFile { if (name == "dokka-version.properties") { filter { line -> - line.replace("<dokka-version>", dokka_version) + line.replace("<dokka-version>", dokkaVersion) } } } |