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

add workaround for test fixtures issue #490

Merged
merged 3 commits into from
Jan 2, 2023
Merged

Conversation

gabrielittner
Copy link
Collaborator

This started happening now because of the change to not set project.group and version anymore. As a workaround we will start doing that again but only when the test-fixtures plugin is applied. Unfortunately there doesn't seem to be a way to modify capabilities. The only other way would be to rewrite the generated metadata file on our own but that seems a lot more error prone to me.

@ZacSweers already tested this manually in eithernet slackhq/EitherNet@27270d7

Filed Gradle issue gradle/gradle#23354

@gabrielittner
Copy link
Collaborator Author

Needed to change the code a bit and use afterEvaluate + get(). Usually when things in Gradle have Object as type it will unwrap providers but for group and version it just does toString() 28449df

@gabrielittner gabrielittner merged commit 64e5c73 into main Jan 2, 2023
@gabrielittner gabrielittner deleted the test-fixtures3 branch January 2, 2023 21:07
Copy link
Owner

@vanniktech vanniktech left a comment

Choose a reason for hiding this comment

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

👍

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.

None yet

3 participants