What is minimal sample Gradle project for ANTLR4 (with antlr plugin)?
<p>I have created new Gradle project, added</p>

<pre><code>apply plugin: 'antlr'
</code></pre>

<p>and</p>

<pre><code>dependencies {
    antlr "org.antlr:antlr4:4.5.3"
</code></pre>

<p>to <code>build.gradle</code>. </p>

<p>Created <code>src/main/antlr/test.g4</code> file with the following content</p>

<pre><code>grammar test;
r   : 'hello' ID;
ID  : [a-z]+ ;
WS  : [ \t\r\n]+ -&gt; skip ;
</code></pre>

<p>But it doesn't work. No java source files generated (and no error occurred).</p>

<p>What I missed?</p>

<p>Project is here: <a href="https://github.com/dims12/AntlrGradlePluginTest2" rel="noreferrer">https://github.com/dims12/AntlrGradlePluginTest2</a></p>

<p><strong>UPDATE</strong></p>

<p>I found my sample is actually works, but it put code into <code>\build\generated-src</code> which I was not expecting :shame:</p>