-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Android sourceSets task does not show output in Gradle 6.8+ #16186
Labels
Milestone
Comments
@bamboo Could you check this? I reproduced it. |
bamboo
added a commit
that referenced
this issue
Mar 29, 2021
bamboo
added a commit
that referenced
this issue
Mar 30, 2021
bamboo
added a commit
that referenced
this issue
Mar 30, 2021
This will be fixed in Gradle 7.0 and most likely backported to Gradle > 6.8.3 |
Thanks for the follow up, @ljacomet! |
This was referenced Apr 13, 2021
bamboo
added a commit
that referenced
this issue
Apr 19, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Expected Behavior
I can run the Android Gradle task
sourceSets
on an Android module and see output.Current Behavior
No output is shown from the task.
Context
The task works in Gradle 6.7.1 but not Gradle 6.8 or higher (and I've just checked a very recent 7.0 nightly as well). I suspect the cause is 4dac91a since SourceSetsTask extends
AbstractReportTask
which had its@TaskAction
removed by that commit.I originally raised this issue against Android's issue tracker but was told to raise against the Gradle project instead.
Steps to Reproduce
Open any Android project and run the
sourceSets
task in an Android module with Gradle 6.7.1 (works, prints output as expected) then switch to Gradle 6.8 and try again (does not show output).Your Environment
Gradle 6.8.2, AGP 4.1.2 on Windows
The text was updated successfully, but these errors were encountered: