Automattic / Automattic/configure

Ensure binary version matches Gradle plugin version

Open
#12 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

We need to add a version check [here](https://github.com/Automattic/configure/blob/trunk/gradle-plugin/configure/src/main/kotlin/com/automattic/android/configure/ConfigurePlugin.kt#L42-L45) to make sure we update the binary whenever the Gradle plugin is updated. Otherwise, even if the Gradle plugin version is updated in the client, it'll still use the old binary.

_P.S: There might be a better place for this check, but I wanted to make sure to link this one when/if I work on this issue._

cc @jkmassel

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in gradle-plugin/configure/src/main/kotlin/com/automattic/android/configure/ConfigurePlugin.kt around lines 42-45 and trace where the Gradle plugin and binary versions are defined or selected. Add a check that detects a mismatch and verify that the plugin cannot continue with an outdated binary.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, rust
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.