@@ -97,18 +97,14 @@ def enableSeparateBuildPerCPUArchitecture = true
9797def enableProguardInReleaseBuilds = false
9898
9999android {
100- compileSdkVersion 23
101- buildToolsVersion " 26.0.1"
100+ compileSdkVersion 26
102101
103102 defaultConfig {
104103 applicationId " com.allaboutolaf"
105104 minSdkVersion 19
106- targetSdkVersion 23
105+ targetSdkVersion 26
107106 versionCode 1
108107 versionName " 1.0.0"
109- ndk {
110- abiFilters " armeabi-v7a" , " x86"
111- }
112108 manifestPlaceholders = [
113109 manifestApplicationId : applicationId,
114110 BUGSNAG_KEY : System . getenv(" BUGSNAG_KEY" ) ?: " " ,
@@ -150,9 +146,15 @@ android {
150146 android {
151147 dexOptions {
152148 // Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
153- preDexLibraries = preDexEnabled && ! travisBuild
149+ preDexLibraries = preDexEnabled && ! ciBuild
154150 }
155151 }
152+ configurations. all {
153+ resolutionStrategy. force ' com.android.support:appcompat-v7:26.1.0'
154+ resolutionStrategy. force ' com.android.support:customtabs:26.1.0'
155+ resolutionStrategy. force ' com.google.android.gms:play-services-base:11.8.0'
156+ resolutionStrategy. force ' com.google.android.gms:play-services-maps:11.8.0'
157+ }
156158}
157159
158160// borrowed from https://gist.github.com/gabrielemariotti/6856974
@@ -191,21 +193,21 @@ if (propFile.canRead()) {
191193
192194dependencies {
193195 // please keep this list sorted
194- compile project(' :bugsnag-react-native' )
195- compile project(' :react-native-calendar-events' )
196- compile project(' :react-native-custom-tabs' )
197- compile project(' :react-native-device-info' )
198- compile project(' :react-native-google-analytics-bridge' )
199- compile project(' :react-native-keychain' )
200- compile project(' :react-native-linear-gradient' )
201- compile project(' :react-native-maps' )
202- compile project(' :react-native-network-info' )
203- compile project(' :react-native-restart' )
204- compile project(' :react-native-vector-icons' )
196+ implementation project(' :bugsnag-react-native' )
197+ implementation project(' :react-native-calendar-events' )
198+ implementation project(' :react-native-custom-tabs' )
199+ implementation project(' :react-native-device-info' )
200+ implementation project(' :react-native-google-analytics-bridge' )
201+ implementation project(' :react-native-keychain' )
202+ implementation project(' :react-native-linear-gradient' )
203+ implementation project(' :react-native-maps' )
204+ implementation project(' :react-native-network-info' )
205+ implementation project(' :react-native-restart' )
206+ implementation project(' :react-native-vector-icons' )
205207 // this is for react-native itself
206- compile fileTree(dir : " libs" , include : [" *.jar" ])
207- compile " com.android.support:appcompat-v7:23.0.1 "
208- compile " com.facebook.react:react-native:+" // From node_modules
208+ implementation fileTree(dir : " libs" , include : [" *.jar" ])
209+ implementation " com.android.support:appcompat-v7:26.1.0 "
210+ implementation " com.facebook.react:react-native:+" // From node_modules
209211}
210212
211213// Run this once to be able to run the application with BUCK
0 commit comments