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

Fix additionalEditorconfig property not being accounted for up-to-date checks and caching #758

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

m-burst
Copy link
Contributor

@m-burst m-burst commented Apr 2, 2024

Fixes #750

@@ -147,6 +147,26 @@ class EditorConfigTests : AbstractPluginTest() {
}
}

@DisplayName("Check task should rerun if additionalEditorconfig property changes")
@CommonTest
fun checkRerunOnAdditionalEditorconfigPropertyChange(gradleVersion: GradleVersion) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made sure that the test fails if val additionalEditorconfig is @Internal before changing it to @Input

Copy link
Collaborator

@wakingrufus wakingrufus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!

@wakingrufus
Copy link
Collaborator

You will need to update the changelog to pass checks as well

@m-burst
Copy link
Contributor Author

m-burst commented Apr 4, 2024

Updated the changelog

Copy link
Owner

@JLLeitschuh JLLeitschuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fix, and the unit test, both are greatly appreciated! TDD for the win!

@wakingrufus wakingrufus merged commit 582c9f5 into JLLeitschuh:main Apr 4, 2024
14 checks passed
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

Successfully merging this pull request may close these issues.

Caches work incorrectly: additionalEditorconfig should be @Input instead of @Internal
3 participants