2019-03-26 17:50:39 +00:00
|
|
|
def safeExtGet(prop, fallback) {
|
|
|
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
|
|
}
|
|
|
|
|
2016-04-11 04:13:01 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2019-11-08 22:48:08 +00:00
|
|
|
google()
|
2016-04-11 04:13:01 +00:00
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-08 22:48:08 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.5.2'
|
2016-04-11 04:13:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2019-03-26 17:50:39 +00:00
|
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 25)
|
|
|
|
buildToolsVersion safeExtGet('buildToolsVersion', '25.0.3')
|
2016-04-11 04:13:01 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2019-03-26 17:50:39 +00:00
|
|
|
minSdkVersion safeExtGet('minSdkVersion', 16)
|
|
|
|
targetSdkVersion safeExtGet('targetSdkVersion', 22)
|
2016-04-11 04:13:01 +00:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
2017-04-17 15:28:34 +00:00
|
|
|
|
|
|
|
renderscriptTargetApi 23
|
|
|
|
renderscriptSupportModeEnabled true
|
2016-04-11 04:13:01 +00:00
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-08 22:48:08 +00:00
|
|
|
//noinspection GradleDynamicVersion
|
2019-03-26 18:52:44 +00:00
|
|
|
implementation 'com.facebook.react:react-native:+'
|
2017-04-10 16:55:58 +00:00
|
|
|
}
|