-
Notifications
You must be signed in to change notification settings - Fork 213
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
META-INF files generated by KSP processor are missing from output #991
Comments
Hi! Another files that are missing are for example proguard rules from moshi. Can be reproduce on current master:
Expected:
Actual: |
i think I am facing a similar issue here: komapper/komapper#1105 (comment) |
#997 looking to fix this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue was found when trying to integrate with auto-service-ksp library. In this case, KSP processor is invoked but META-INF service file is missing from out jar artifact.
REPRO:
examples/ksp
bazel build coffee_lib && tar -tf bazel-bin/coffee_lib.jar
EXPECTED:
There should be a file under
META-INF/services/
.ACTUAL:
File is missing.
Notes:
KSP processor is invoked, since, for example, specifying a bogus value for AutoService() param (in CoffeAppService.java) causes a crash in KSP auto-value processor. Also, the following is observed in logs:
info: [ksp] loaded provider(s): [com.squareup.moshi.kotlin.codegen.ksp.JsonClassSymbolProcessorProvider, dev.zacsweers.autoservice.ksp.AutoServiceSymbolProcessor$Provider]
The text was updated successfully, but these errors were encountered: