breautek commented on issue #539:
URL: 
https://github.com/apache/cordova-plugin-file/issues/539#issuecomment-1260241326

   Thank you... that looks alright to me.
   
   `-source 7`
   
   This seems like something is tacking on (and overriding [cordova's 
configuration](https://github.com/apache/cordova-android/blob/954d3e0e7542356e6ea995ddc75dcb1db8bb36cc/templates/project/app/build.gradle#L249)).
   
   The `-source` flag sets the `sourceCompatibility` to a specific Java level, 
and 7 is not compatible because lambda expressions was introduced in Java 8.
   
   I've confirmed that Cordova will build a standard hello world application 
with the file plugin. So it's likely an environment variable, user-level 
setting, third-party cordova plugin or a user-level gradle config that is 
overriding the `sourceCompatibility` option.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to