aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrajdeep <iamrajdeep1008@gmail.com>2021-12-08 15:11:17 +0530
committerGitHub <noreply@github.com>2021-12-08 12:41:17 +0300
commit4dc0654ee951722d61087f1cf2e8c3cc9a341780 (patch)
treeec174edd0a2881eeb46e9f8ca8611907208e84c0
parent4397c967e84ab956944fef85e26a4853fa59ba3d (diff)
downloaddokka-4dc0654ee951722d61087f1cf2e8c3cc9a341780.tar.gz
dokka-4dc0654ee951722d61087f1cf2e8c3cc9a341780.tar.bz2
dokka-4dc0654ee951722d61087f1cf2e8c3cc9a341780.zip
Fix for repositories not defined issue in versioning multimodule example (#2263)
-rw-r--r--examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts b/examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts
index f95b65b5..ec77db84 100644
--- a/examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts
+++ b/examples/gradle/dokka-versioning-multimodule-example/build.gradle.kts
@@ -5,12 +5,15 @@ plugins {
// The versioning plugin should be applied in all submodules
subprojects {
+ repositories {
+ mavenCentral()
+ }
apply {
plugin("org.jetbrains.kotlin.jvm")
plugin("org.jetbrains.dokka")
}
val dokkaPlugin by configurations
dependencies {
- dokkaPlugin("org.jetbrains.dokka:versioning-plugin:1.6.0")
+ dokkaPlugin("org.jetbrains.dokka:versioning-plugin:1.6.0")
}
}