Declare array of versions in implementation gradle

Viewed 15

I would like to understand how the issue of an array of versions in gradle works. An example is the OneSignal library. The official documentation (https://documentation.onesignal.com/v7.0/docs/android-sdk-setup) does not say that to add this dependency, just include the code below in the gradle file:

implementation 'com.onesignal:OneSignal:[4.0.0, 4.99.99]'

But what would this array of dependencies be: [4.0.0, 4.99.99] ?

If I pull the sdk via maven-push.gralde as the sdk shows: https://github.com/OneSignal/OneSignal-Android-SDK/blob/main/OneSignalSDK/onesignal/maven-push.gradle

passing its latest version, is it the same thing for me to do what is recommended by the documentation?

0 Answers
Related