Skip to content

Instantly share code, notes, and snippets.

@adibfara
Created May 5, 2022 08:11
Show Gist options
  • Select an option

  • Save adibfara/7b071cdbe5df31c56d617c7a5b64d91e to your computer and use it in GitHub Desktop.

Select an option

Save adibfara/7b071cdbe5df31c56d617c7a5b64d91e to your computer and use it in GitHub Desktop.
Adding a Service Loader
// Create the directories: yourmodule/src/main/resources/META-INF/services/
// Create a file named com.google.devtools.ksp.processing.SymbolProcessorProvider
// Inside the file, add the following line (and nothing more):
com.snaky.ksp.processor.provider.ListedProcessorProvider
// For a reference, you can check out here:
// https://github.com/adibfara/ListGen/blob/main/ksp/src/main/resources/META-INF/services/com.google.devtools.ksp.processing.SymbolProcessorProvider
@Firsto

Firsto commented Aug 7, 2024

Copy link
Copy Markdown

Save my day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment