Hi @edsonms,
You can follow this post to get a compilation database without unexpanded files: Getting java.lang.IllegalStateException: unexpanded response file when using SonarLint for VSCode - #3 by Tomasz_Kaminski
Let me know if it works for you.
Thanks,