Skip to content

Commit d41ae32

Browse files
authored
add deps to fix docs (#3749)
* add deps to fix docs * ci heap to match gradle heap
1 parent c484860 commit d41ae32

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
api-level: ${{ matrix.api-level }}
273273
arch: x86_64
274274
force-avd-creation: false
275-
heap-size: 256M
275+
heap-size: 4608M
276276
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
277277
disable-animations: true
278278
script: >-

android/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ plugins {
2626
}
2727

2828
tasks.dokkaHtmlMultiModule {
29+
dependsOn(":engine:kaptDebugKotlin")
30+
dependsOn(":engine:kaptDebugNonProxyKotlin")
31+
dependsOn(":engine:kaptReleaseKotlin")
2932
moduleName.set("OpenSRP")
3033
moduleVersion.set(project.version.toString())
3134
outputDirectory.set(file(buildDir.resolve("dokka")))

android/engine/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ plugins {
1414
id("androidx.navigation.safeargs")
1515
}
1616

17+
tasks.named("dokkaHtmlPartial") {
18+
dependsOn("kaptDebugKotlin")
19+
dependsOn("kaptDebugNonProxyKotlin")
20+
dependsOn("kaptReleaseKotlin")
21+
}
22+
1723
android {
1824
compileSdk = BuildConfigs.compileSdk
1925

android/geowidget/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ plugins {
1313
id("org.jetbrains.kotlin.plugin.serialization")
1414
}
1515

16+
tasks.named("dokkaHtmlPartial") {
17+
dependsOn("kaptDebugKotlin")
18+
dependsOn("kaptDebugNonProxyKotlin")
19+
dependsOn("kaptReleaseKotlin")
20+
}
21+
1622
android {
1723
compileSdk = BuildConfigs.compileSdk
1824

0 commit comments

Comments
 (0)