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

Dokkatoo uses typesafe Attributes, which are bugged in Gradle #214

Open
aSemy opened this issue Apr 5, 2024 · 0 comments
Open

Dokkatoo uses typesafe Attributes, which are bugged in Gradle #214

aSemy opened this issue Apr 5, 2024 · 0 comments
Labels
blocked-by:Gradle Blocked by a bug/missing feature in Gradle bug Something isn't working

Comments

@aSemy
Copy link
Contributor

aSemy commented Apr 5, 2024

Gradle recommends using typesafe attributes to share files. However, these are fundamentally bugged and will not work in some situations.

I will implement a workaround, but I am opening this issue to track a real fix, dependent on whether Gradle can acknowledge and fix the issue.

This issue might be the cause of #165 and #170.

Thank you @kelvSYC for the report and reproducer! #211

@aSemy aSemy added bug Something isn't working blocked-by:Gradle Blocked by a bug/missing feature in Gradle labels Apr 5, 2024
aSemy added a commit that referenced this issue Apr 5, 2024
- use `Attribute<String>` instead of typed attributes.
- change the Dokkatoo attributes to be value classes, so they can still be used mostly type-safely.
- Improve logging (include hashcodes) and error reporting.

#214
github-merge-queue bot pushed a commit that referenced this issue Apr 5, 2024
* workaround bugged Gradle attributes

- use `Attribute<String>` instead of typed attributes.
- change the Dokkatoo attributes to be value classes, so they can still be used mostly type-safely.
- Improve logging (include hashcodes) and error reporting.

#214

* Update modules/dokkatoo-plugin/src/main/kotlin/internal/gradleUtils.kt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked-by:Gradle Blocked by a bug/missing feature in Gradle bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant