Skip to content

Commit 93287e3

Browse files
maxmamisÁlvaro Medina Ballester
authored andcommitted
Update build.gradle (#27)
1 parent 7b9b5fc commit 93287e3

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

android/build.gradle

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11

22
apply plugin: 'com.android.library'
33

4+
def _ext = rootProject.ext
5+
6+
def _compileSdkVersion = _ext.has('compileSdkVersion') ? _ext.compileSdkVersion : 23
7+
def _buildToolsVersion = _ext.has('buildToolsVersion') ? _ext.buildToolsVersion : '23.0.1'
8+
def _minSdkVersion = _ext.has('minSdkVersion') ? _ext.minSdkVersion : 16
9+
def _targetSdkVersion = _ext.has('targetSdkVersion') ? _ext.targetSdkVersion : 22
10+
11+
412
android {
5-
compileSdkVersion 23
6-
buildToolsVersion "23.0.1"
13+
compileSdkVersion _compileSdkVersion
14+
buildToolsVersion _buildToolsVersion
715

816
defaultConfig {
9-
minSdkVersion 16
10-
targetSdkVersion 22
17+
minSdkVersion _minSdkVersion
18+
targetSdkVersion _targetSdkVersion
1119
versionCode 1
1220
versionName "1.0"
1321
ndk {

0 commit comments

Comments
 (0)