-
Notifications
You must be signed in to change notification settings - Fork 62
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
Can't find place of storing generated files by ksp #290
Comments
Coolmanakov
changed the title
Can't find place of storing generated files by kip
Can't find place of storing generated files by ksp
Jun 22, 2022
See this for file location: #129 |
My understanding is that this lib is not fully compatible with ksp yet. Methods and properties like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is my code
val compilation = KotlinCompilation().apply {
sources = listOf(sourceFile)
symbolProcessorProviders = listOf(KspProvider())
inheritClassPath = true
kspWithCompilation = true
workingDir = File(testWorkingDir)
}
compilationResult = compilation.compile()
compilationResult.generatedFiles contains necessary files, but they are compiled equivalent of what I really need, that's why I can not compare them with expected
But I have generated files in build/generated/ksp/..., but KotlinCompilation.Result property sourcesGeneratedByAnnotationProcessor is empty. It means, that generating is working fine, but access to them impossible thing - in my experience.
How can I take the generated files while testing my processor?
My issue has the same problem as already opened issue #129
The text was updated successfully, but these errors were encountered: