diff --git a/.github/workflows/dokka.yml b/.github/workflows/dokka.yml
index d1e45d7345..60008dd103 100644
--- a/.github/workflows/dokka.yml
+++ b/.github/workflows/dokka.yml
@@ -4,6 +4,7 @@ on:
push:
branches:
- master
+ - ANDROSDK-1941
workflow_dispatch:
diff --git a/assets/logo-icon.svg b/assets/logo-icon.svg
new file mode 100644
index 0000000000..5de1dc5688
--- /dev/null
+++ b/assets/logo-icon.svg
@@ -0,0 +1,56 @@
+
diff --git a/core/build.gradle.kts b/core/build.gradle.kts
index 7d716ef125..c4bfdcf792 100644
--- a/core/build.gradle.kts
+++ b/core/build.gradle.kts
@@ -214,6 +214,22 @@ tasks.withType().configureEach {
}
}
}
+ dokkaSourceSets {
+ configureEach {
+ moduleName.set("DHIS2 Android SDK")
+ }
+ }
+
+ val dokkaBaseConfiguration = """
+ {
+ "customAssets": ["${file("../assets/logo-icon.svg")}"]
+ }
+ """
+ pluginsMapConfiguration.set(
+ mapOf(
+ "org.jetbrains.dokka.base.DokkaBase" to dokkaBaseConfiguration,
+ ),
+ )
}
tasks.dokkaJavadoc.configure {