JakeWharton / JakeWharton/jakewharton.com
Gradle best practices in KMP Compose post
- Dominant language
- HTML
- Stars
- 122
- Forks
- 26
- Avg merge
- 18h 18m
- Merged PRs (30d)
- 18
Description
https://jakewharton.com/multiplatform-compose-and-gradle-module-metadata-abuse/
https://github.com/JakeWharton/jakewharton.com/blame/gh-pages/_posts/2021-11-04-multiplatform-compose-and-gradle-module-metadata-abuse.md#L199
I noticed that in
```
tasks.named("generateMetadataFileForKotlinMultiplatformPublication").configure
```
you didn't declare the 4 implicit inputs to the task. This might cause up to date issues if the version changes or the text files change. I'm almost certain that in your real project you actually did do that, but ommited those 4 lines for brevity. If that's the case, would you add those in, just because people might copy-paste this as coming from a "authorative source" and introduce problems in their own builds.
Happy to PR if you accept the suggestion.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open _posts/2021-11-04-multiplatform-compose-and-gradle-module-metadata-abuse.md and inspect the Gradle task example around line 199, using the linked article and blame view for context. Update the example to account for the four implicit task inputs mentioned in the issue. Done means the published snippet accurately demonstrates the required input declarations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100