Got "unsupported class file version 52.0" after including a module to a project
<p>After creating an empty project within Android Studio and including a pure java module, which compiles and works perfectly on its own, I get the following error on every single class within that module:</p>

<p><code>Error:PARSE ERROR: Error:unsupported class file version 52.0</code></p>

<p>I tried to run the project using the embedded JDK and the one that I have on my system - JDK 8 (1.8.0_91), the result is the same.</p>

<p>Note this, that I don't include the module as <code>.jar</code> library, it is source code which is importing with following instruction:</p>

<pre><code>include ':app', ':my-module'
project(':my-module').projectDir = new File(settingsDir, '../my-module-java')
</code></pre>