OneSignal / OneSignal-Gradle-Plugin

Use with OneSignal-Android-SDK to help integrate it into your Android Studio or Gradle project. https://onesignal.com
Other
64 stars 17 forks source link

Set jvm version for compileGroovy #166

Closed jkasten2 closed 3 years ago

jkasten2 commented 3 years ago

This will fix errors such as

* What went wrong:
A problem occurred evaluating project ':app'.
> com/onesignal/androidsdk/GradleProjectPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Tests

Manual

Ran ./gradle build on an Android project with a local build of this plugin with Java 8 to reproduce the issue. Then rebuilt with this new setting to ensure this resolved the issue.


This change is Reviewable