You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 31, 2022. It is now read-only.
`app/build.gradle`
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
### Full Error
A problem occurred configuring root project '7d8b6cf46fad4a65'.
[14:02:45]> Could not resolve all artifacts for configuration ':classpath'.
[14:02:45] > Could not resolve gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.10, 0.99.99].
[14:02:45] Required by:
[14:02:45] project :
[14:02:45] > No matching variant of gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.13.2 was found. The consumer was configured to find a runtime of a library compatible with Java 9, packaged as a jar, and its dependencies declared externally but:
[14:02:45] - Variant 'apiElements' capability gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.13.2 declares a library, packaged as a jar, and its dependencies declared externally:
[14:02:45] - Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 9
[14:02:45] - Variant 'runtimeElements' capability gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.13.2 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
[14:02:45] - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 9
I get this error building a project that use OneSignal Gradle Plugin.
The error is using version 0.13.2 , is not present in 0.12.10.
Did you know why it could happend?
Project Setup
build.gradle`dependencies {
...
// OneSignal-Gradle-Plugin
classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.10, 0.99.99]'
}