diff --git a/android/build.gradle b/android/build.gradle index 37ebdde1..ea580e1e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -12,7 +12,6 @@ apply plugin: 'com.android.library' android { compileSdkVersion 24 - buildToolsVersion "23.0.2" defaultConfig { minSdkVersion 16 @@ -30,6 +29,6 @@ repositories { } dependencies { - compile 'status-im:function:0.0.1' - compile 'com.facebook.react:react-native:+' + api 'status-im:function:0.0.1' + api 'com.facebook.react:react-native:+' } diff --git a/examples/SampleRN20/android/app/build.gradle b/examples/SampleRN20/android/app/build.gradle index ca57f4e8..d5133b5b 100644 --- a/examples/SampleRN20/android/app/build.gradle +++ b/examples/SampleRN20/android/app/build.gradle @@ -77,7 +77,6 @@ def enableProguardInReleaseBuilds = false android { compileSdkVersion 23 - buildToolsVersion "23.0.1" defaultConfig { applicationId "com.samplern20" @@ -119,8 +118,8 @@ android { } dependencies { - compile fileTree(dir: "libs", include: ["*.jar"]) - compile "com.android.support:appcompat-v7:23.0.1" - compile "com.facebook.react:react-native:0.20.+" - compile project(':react-native-webview-bridge') + api fileTree(dir: "libs", include: ["*.jar"]) + api "com.android.support:appcompat-v7:23.0.1" + api "com.facebook.react:react-native:0.20.+" + api project(':react-native-webview-bridge') }