Kotlin / Kotlin/dokka

generate dokka tasks depends on the build variant

Open
#2,001 1 comment 0 reactions 0 assignees View on GitHub
awaiting response platform: android-jvm question runner: Gradle plugin
Dominant language
Kotlin
Stars
3.8k
Forks
500
Avg merge
3d 10h
Merged PRs (30d)
10

Description

**Question**
Hi guys, is there a way to have dokka task depends on the project build variant?I'm talking about android project.
At this moment i see that it depends on the assemble gradle task and it is trying to assemble project for each build variant. My Issue is that in my case - i have build variant specified dependency on another internal module and without having them generated i cannot build documentation which is not actually convenient. I've got the same error that project cannot resolve dependencies.

**Installation**
- Operating system: Windows
- Build tool: Gradle v6.5.0
- Dokka version: 1.4.32/0.10.1 (i've used both)

Contributor guide

Open the contributing guide

Research direction

The report names no source file or test. Start by tracing Dokka's Gradle task behavior for Android build variants using the reported Gradle 6.5.0 setup; done means documentation can be generated for the needed variant without assembling every variant or failing to resolve the internal module dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system, documentation, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.