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

Treat the build directory as an optional #297

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

kelloggm
Copy link
Owner

@kelloggm kelloggm commented Mar 4, 2025

Fixes the failed build of plume-lib/options#442 for me when testing locally. @mernst can you confirm that this is fixing the issues that you are seeing?

The problem was that #295 assumed that the build directory could be directly converted to a string. This is true sometimes (I do not understand Gradle well enough to tell you when), but not always - sometimes there is a wrapper around it. Calling get() first removes the wrapper and allows the plugin to get the build directory location as a string, which is what we wanted. I tested this with both options and with the local test I created for #295 based on @Calvin-L's report in #294, and it works in both setups. But, I don't have much confidence that this is really the "right" fix.

@kelloggm kelloggm requested a review from mernst March 4, 2025 16:12
Copy link
Collaborator

@mernst mernst 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 for the quick fix!

@kelloggm kelloggm merged commit 5e1fc88 into master Mar 4, 2025
4 checks passed
@kelloggm kelloggm deleted the its-an-optional-sometimes branch March 4, 2025 16:46
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.

2 participants