Skip to content

Fix implicit task dependency error between KSP and Android Lint in Android KMP - #3144

Open
hfmehmed wants to merge 1 commit into
google:mainfrom
hfmehmed:fix-lint-task-dep
Open

Fix implicit task dependency error between KSP and Android Lint in Android KMP#3144
hfmehmed wants to merge 1 commit into
google:mainfrom
hfmehmed:fix-lint-task-dep

Conversation

@hfmehmed

Copy link
Copy Markdown
Collaborator

For android-kmp projects, KSP is adding generated output directories directly to defaultSourceSet.kotlin.srcDirs, causing AGP to classify them as static (non-generated) sources. AGP Lint tasks collect all non-generated sources as inputs, leading Gradle to detect task inputs depending on KSP outputs without task dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants