2018-11-01 13:42:18 +03:00
|
|
|
def safeExtGet(prop, fallback) {
|
|
|
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
|
|
}
|
|
|
|
|
2017-09-23 22:37:31 +03:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2018-11-01 13:42:18 +03:00
|
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 26)
|
|
|
|
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')
|
2017-09-23 22:37:31 +03:00
|
|
|
|
|
|
|
defaultConfig {
|
2018-11-01 13:42:18 +03:00
|
|
|
minSdkVersion safeExtGet('minSdkVersion', 16)
|
|
|
|
targetSdkVersion safeExtGet('targetSdkVersion', 26)
|
2017-09-23 22:37:31 +03:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
}
|
2018-11-01 13:42:18 +03:00
|
|
|
|
2017-09-23 22:37:31 +03:00
|
|
|
lintOptions {
|
|
|
|
warning 'InvalidPackage'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'com.facebook.react:react-native:+'
|
2018-07-25 16:03:58 +03:00
|
|
|
compile 'com.yandex.android:mobmetricalib:3.1.0'
|
2018-04-02 14:56:41 +03:00
|
|
|
}
|