PostHog / PostHog/posthog-android
Add a Gradle plugin configuration DSL (CLI path override, per-variant toggles)
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 90
- Forks
- 49
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 61
Description
Extracted from PostHog/posthog#43012.
Problem
The plugin registers no extension, so there's no way to configure it. The CLI path is hardcoded to posthog-cli, and the only skip logic is !isMinifyEnabled; per-variant control is still a // TODO in the plugin.
Scope
- Add a
posthog { }extension for forcing the CLI binary path, enabling or disabling per build type and per variant, an autoUpload toggle, allow-failure, and debug mode.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Android Gradle plugin implementation where the hardcoded CLI path and !isMinifyEnabled logic are defined, then trace how build types and variants are handled. Completion means a posthog { } extension exposes the listed path, variant, upload, failure, and debug controls, with behavior covering the requested configuration combinations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100