For some reason, my Phonegap-build app with OneSignal plugin stopped working since yesterday. I am currently using version 2.4.5 and encountering the following error:
FAILURE: Build failed with an exception.
Where: Build file '/app/build.gradle' line: 94
What went wrong: A problem occurred evaluating project ':app'.
Could not resolve all files for configuration 'classpath'. Could not resolve gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.99]. Required by: unspecified:unspecified:unspecified Could not resolve gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.99]. Failed to list versions for gradle.plugin.com.onesignal:onesignal-gradle-plugin. Unable to load Maven meta-data from . Could not get resource ''. Could not GET ''. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
The strange thing is that this setup worked perfectly fine the day before with the same OneSignal plugin version, and no changes were made on my end.