-
Notifications
You must be signed in to change notification settings - Fork 58
Bintray mirror of React Native
Unlike almost every other Android library, React Native is not distributed through a maven repository (see this issue).
To allow native Android projects to include gutenberg-mobile
without requiring a local Node environment, we maintain a maven mirror of the React Native packages that are required to use it here: https://bintray.com/wordpress-mobile/react-native-mirror.
You can use the repo in an Android project by adding this to the repositories
block of your build.gradle
:
maven { url "https://dl.bintray.com/wordpress-mobile/react-native-mirror/" }
If the version of react-native
or jsc-android
being used in gutenberg-mobile
is updated, the new versions must also be updated on the maven repo.
To do this, someone with write access to the Bintray repo should follow these steps:
- Check out the version of
gutenberg-mobile
which uses the new package versions. - Run
./bin/update-bintray-repo.sh
. - Provide your Bintray username and API key when prompted (you can leave "Default package licenses" blank).
- It will then upload the packages to Bintray.
You can confirm that the new versions have been added by checking Bintray here.