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

Commit 261581c

Browse files
Merge pull request #362 from bugsnag/modern-gradle-dep-syntax
build: update deprecated compile dependencies to use implementation/a…
2 parents ced2f90 + 85e2155 commit 261581c

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
=========
33

4+
## TBD
5+
6+
This release updates the package's Gradle build script to use `api` and `implementation` rather than the deprecated `compile` syntax. If you are using v2.X of the Android Gradle Plugin, you will need to upgrade to v3.X of the [Android Gradle Plugin](https://developer.android.com/studio/releases/gradle-plugin#updating-plugin), and [upgrade your gradle wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:upgrading_wrapper).
7+
8+
* Update deprecated compile dependencies to use implementation/api
9+
[#362](https://github.com/bugsnag/bugsnag-react-native/pull/362)
10+
411
## 2.19.1 (2019-05-21)
512

613
### Bug fixes

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)