Skip to content

Commit

Permalink
Remove Gradle warning (#3284)
Browse files Browse the repository at this point in the history
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
  • Loading branch information
bahaa96 authored and aksonov committed Sep 21, 2018
1 parent 71c9865 commit 7acfcc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ android {
}

dependencies {
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
compile "com.facebook.react:react-native:+" // From node_modules
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.facebook.react:react-native:+" // From node_modules
}

// Run this once to be able to run the application with BUCK
Expand Down

0 comments on commit 7acfcc5

Please sign in to comment.