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

Request for ability to opt-out of resource tasks added in latest compose plugin (1.6.10-rc03) #4822

Closed
bitspittle opened this issue May 17, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request resources

Comments

@bitspittle
Copy link

I'm using Compose HTML, and it seems like the most recent version of Compose added a ton of resource accessor tasks which I don't need. This seems to have been created for CMP for Web, but it's significantly cluttering our output (with 10+ no-op tasks per module):

Task :site:generateResourceAccessorsForCommonMain NO-SOURCE
Task :site:generateResourceAccessorsForJsMain NO-SOURCE
Task :site:convertXmlValueResourcesForJvmMain NO-SOURCE
Task :site:copyNonXmlValueResourcesForJvmMain NO-SOURCE
Task :site:prepareComposeResourcesTaskForJvmMain NO-SOURCE
Task :site:generateResourceAccessorsForJvmMain NO-SOURCE
Task :sitelib:convertXmlValueResourcesForJvmMain NO-SOURCE
Task :sitelib:copyNonXmlValueResourcesForJvmMain NO-SOURCE
Task :sitelib:prepareComposeResourcesTaskForJvmMain NO-SOURCE

@bitspittle bitspittle added enhancement New feature or request submitted labels May 17, 2024
@terrakok terrakok self-assigned this May 17, 2024
@terrakok
Copy link
Collaborator

At the moment the Compose resources is a inseparable part of the Compose Gradle plugin. If you don't use resources in your project then tasks will be just skipped.

@bitspittle
Copy link
Author

Thanks for the reply!

Sounds like this is WAI. Also, moving forward we're going to drop the jetbrains compose plugin since with K2 it seems like we don't need it anymore. So I'm going to go ahead and close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resources
Projects
None yet
Development

No branches or pull requests

2 participants