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

Changing stylesheet does not invalidate gradle build cache #710

Open
AlvaroBrey opened this issue Mar 24, 2022 · 1 comment
Open

Changing stylesheet does not invalidate gradle build cache #710

AlvaroBrey opened this issue Mar 24, 2022 · 1 comment
Labels

Comments

@AlvaroBrey
Copy link

Pre-requisite: have build caching enabled in Gradle

  1. Create an HTML report with a stylesheet
  2. Change the stylesheet in the plugin config
  3. Run the gradle task again
  4. Task result is loaded from build cache, and new stylesheet is not applied
@KengoTODA KengoTODA added the bug label May 13, 2022
@KengoTODA
Copy link
Member

Thanks for your share, and this issue has successfully been reproduced by ad28ad9

Currently we cannot annotate TextResource by @Input like 6b22c21 due to the following error:

Cannot fingerprint input property 'enabledReports.$0.stylesheet': value 'entry 'fancy-hist.xsl' in archive file collection' cannot be serialized.

We also need to care about the following issue reported to the Gradle project:

gradle/gradle#8473

I will watch updates in the Gradle side, to fix this problem in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants