Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Android Studio Build Analyzer warns about "Always-Run Tasks"

Open
#41 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
build-system

Research direction

Start by locating the Gradle task definitions for the cargoBuild<Target> tasks and inspect how their outputs are configured. Confirm the current warning with Android Studio's Build Analyzer or a Gradle build. Done means the tasks no longer appear as Always-Run Tasks while their builds still complete correctly.

Written by the indexing model from the issue text.

Description

It looks like the cargoBuild<Target> tasks are always run when running gradle, because they don't specify an output.
See this screenshot from Android Studio:
BuildAnalyzerWarning

Dominant language
Kotlin
Stars
1.3k
Forks
95
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

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.

More from mozilla/rust-android-gradle

All issues in mozilla/rust-android-gradle

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.