react-native-appmetrica/android/build.gradle

27 lines
642 B
Groovy
Raw Normal View History

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 {
compileSdkVersion safeExtGet('compileSdkVersion', 26)
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')
2017-09-23 22:37:31 +03:00
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 26)
2017-09-23 22:37:31 +03:00
versionCode 1
versionName "1.0"
}
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
}