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 sort rule for Kotlin Symbol Processor #101

Closed
wants to merge 4 commits into from

Conversation

jamesonwilliams
Copy link
Contributor

@jamesonwilliams jamesonwilliams commented Jul 17, 2024

This project has no explicit handling for the ksp configuration, so if you try to sort something like:

dependencies {
  implementation projects.modules.quixotic
  runtimeOnly projects.modules.foo
  kapt projects.modules.baz
  ksp projects.modules.bar
  testImplementation projects.pastiche
}

You'll end up with a sub-optimal result where ksp is not near kapt (and `annotationProcessor, not pictured.)

dependencies {
  ksp projects.modules.bar

  implementation projects.modules.quixotic

  runtimeOnly projects.modules.foo

  kapt projects.modules.baz

  testImplementation projects.pastiche
}

Opinion: those three things should be near to one another

Copy link
Collaborator

@autonomousapps autonomousapps left a comment

Choose a reason for hiding this comment

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

LGTM!

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