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

[IR] Generate proguard rule files #193

Closed
ZacSweers opened this issue Dec 24, 2021 · 2 comments · Fixed by #197
Closed

[IR] Generate proguard rule files #193

ZacSweers opened this issue Dec 24, 2021 · 2 comments · Fixed by #197
Labels
IR IR plugin development

Comments

@ZacSweers
Copy link
Owner

Unclear how this could work, if at all

@ZacSweers ZacSweers added the IR IR plugin development label Dec 24, 2021
@ZacSweers
Copy link
Owner Author

Worst case we could implement that in AnalysisHandlerExtension, but then it's sort of two plugins in one. Maybe it's opt-in at that point

@ZacSweers
Copy link
Owner Author

I think AnalysisHandlerExtension is the way to go for now.

Requires

  • Gradle plugin to manage/handle setting up generated resources and wiring them appropriately for projects (see prior art in KSP)
  • Extension that handles incrementalism and finds all JsonClass-annotated classes. Skip checks other than checking generateAdapter and generator properties.
  • Extension needs to support sealed and regular. Functionally the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IR IR plugin development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant