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

KSP compilation does not run if there are no kotlin sources #57

Open
yigit opened this issue Aug 6, 2020 · 1 comment
Open

KSP compilation does not run if there are no kotlin sources #57

yigit opened this issue Aug 6, 2020 · 1 comment

Comments

@yigit
Copy link
Contributor

yigit commented Aug 6, 2020

Just noticed this as we do not run kotlin compilation if there are no kotlin sources, which by-passes KSP alltogether.

I will take a look at it, since KSP does support java, we should be running kotlin compilation even when all sources are in java.

@tschuchortdev
Copy link
Owner

The same also happens with the KAPT plugin (and probably all others as well). In case there are no Kotlin source files, I just add an empty dummy file to trick the K2JVMCompiler.

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

No branches or pull requests

2 participants