How to add a new dictionary

I was able to generate the dict file by saving the dic file with proper encoding.
However when I try to create instance of LanguageTool with my language, it is throwing error that grammar.xml file is not available.
I have specified only one rule for spellcheck and do not wish to check grammar.

Is it mandatory to specify grammar.xml file though I do not see it in some of the supported languages