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

Commit c65762a

Browse files
committed
Revert changes in build.gradle (Bad merge from PR)
1 parent 2281819 commit c65762a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

android/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ def DEFAULT_SUPPORT_LIB_VERSION = "23.1.1"
2222
def DEFAULT_GOOGLE_PLAY_SERVICES_VERSION = "+"
2323

2424
android {
25-
compileSdkVersion 26
26-
buildToolsVersion "26.0.3"
25+
compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
26+
buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION
2727

2828
defaultConfig {
2929
minSdkVersion 16
30-
targetSdkVersion 26
30+
targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
3131
versionCode 1
3232
versionName "1.0"
3333
ndk {
@@ -48,7 +48,7 @@ dependencies {
4848

4949
compile fileTree(dir: 'libs', include: ['*.jar'])
5050
testCompile 'junit:junit:4.12'
51-
compile 'com.android.support:appcompat-v7:26.0.+'
51+
compile "com.android.support:appcompat-v7:$supportLibVersion"
5252
compile 'com.facebook.react:react-native:+'
5353
compile "com.google.android.gms:play-services-gcm:$googlePlayServicesVersion"
5454
compile 'me.leolin:ShortcutBadger:1.1.8@aar'

0 commit comments

Comments
 (0)