Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propose only assemble task in building multiple apps simultaneously prescription #223

Open
eugene-krivobokov opened this issue Jul 29, 2022 · 0 comments

Comments

@eugene-krivobokov
Copy link
Contributor

Scenario:

  1. Add any task as a first one:
val initialTaskNames: List<String> = project.gradle.startParameter.taskNames

project.gradle.startParameter.setTaskNames(
   listOf(":someUsefullRequiredTask") + initialTaskNames.toMutableList()
)

doctor {
  allowBuildingAllAndroidAppsSimultaneously.set(true)
}
  1. Hit "Make Project" in IDE

Actual result:

Did you really mean to run all these? [task ':someUsefullRequiredTask', task ':app:assembleDebug', ...
Maybe you just meant to assemble/install one of them? In that case, you can try                      
   ./gradlew someUsefullRequiredTask

Expected result:

Did you really mean to run all these? [task ':someUsefullRequiredTask', task ':app:assembleDebug', ...
Maybe you just meant to assemble/install one of them? In that case, you can try                      
   ./gradlew :app:assembleDebug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant