Skip to content
This repository was archived by the owner on Sep 14, 2020. It is now read-only.

Commit f62a27b

Browse files
Merge branch 'next' into update-gradlew
2 parents fef6b9b + 261581c commit f62a27b

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Changelog
33

44
## TBD
55

6+
This release updates the package's Gradle build script to use `api` and `implementation` rather than the deprecated
7+
`compile` syntax. If you are using v2.X of the Android Gradle Plugin, you will need to upgrade to v3.X of
8+
the [Android Gradle Plugin](https://developer.android.com/studio/releases/gradle-plugin#updating-plugin),
9+
and [upgrade your gradle wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:upgrading_wrapper).
10+
11+
* Update deprecated compile dependencies to use implementation/api
12+
[#362](https://github.com/bugsnag/bugsnag-react-native/pull/362)
13+
614
* Remove unnecessary gradlew from android directory, reducing artefact bundle size
715
[#363](https://github.com/bugsnag/bugsnag-react-native/pull/363)
816

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ android {
2323
}
2424

2525
dependencies {
26-
compile 'com.bugsnag:bugsnag-android:4.14.2'
27-
compile 'com.facebook.react:react-native:+'
26+
api 'com.bugsnag:bugsnag-android:4.14.2'
27+
implementation 'com.facebook.react:react-native:+'
2828
}
2929

3030
apply plugin: 'checkstyle'

0 commit comments

Comments
 (0)