Open Bug 1965752 Opened 7 months ago Updated 7 months ago

FxNimbus.kt doesn't update with changes from nimbus.fml.yaml unless manually deleted

Categories

(Firefox for Android :: Tooling, enhancement)

All
Android
enhancement

Tracking

()

People

(Reporter: mkozinski, Unassigned)

Details

Steps to reproduce

  1. Edit mobile/android/fenix/app/onboarding.fml.yaml
  2. Run ./gradlew :fenix:assembleFenixDebug

Expected behavior

FxNimbus.kt regenerates with current configuration.

Actual behavior

FxNimbus.kt doesn't regenerate unless manually deleted.

Any additional information?

From my previous experience with Gradle tasks and plugins, it should be possible to update Nimbus Gradle plugin to re-run code generation when an input file is modified.

Component: Experimentation and Telemetry → Tooling

If you haven't found it yet, the nimbus gradle plugin lives in the application services project and you probably want to figure out which task to make as a dependant instead of the "assemble" task: https://github.com/mozilla/application-services/blob/main/tools/nimbus-gradle-plugin/src/main/groovy/org/mozilla/appservices/tooling/nimbus/NimbusGradlePlugin.groovy#L84

You need to log in before you can comment on or make changes to this bug.