How to include test classes into shadowJar?
<p>I am using shadow Gradle plugin to build JAR, containing all referenced jars inside.</p>

<p>In my <code>build.gradle</code> I have only </p>

<pre><code>apply plugin: "com.github.johnrengelman.shadow"
</code></pre>

<p>and</p>

<pre><code>jar {
    manifest {
        attributes 'Main-Class': 'MYCLASS'
    }

}
</code></pre>

<p>related to that. I don't know, how it knows, what to build, but it works.</p>

<p>Now, is it possible, to include test classes too?</p>