PostHog / PostHog/posthog-android

Add a Gradle plugin configuration DSL (CLI path override, per-variant toggles)

Open
#635 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feat/error-tracking
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.