Fix sporadic build errors (#4453)

Because of the Java version not being explicitly set
in this plugin, the build of the whole project fails
sporadically in IntelliJ since it's trying to compile the
code as Java 8, which will obviously fail.
This commit is contained in:
Shrikant Sharat Kandula 2021-05-12 16:41:42 +05:30 committed by GitHub
parent b514759ad2
commit c2af4a97fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<plugin.id>rapidapi-plugin</plugin.id>