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 {
|
2020-02-12 06:55:28 +00:00
|
|
|
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
|
|
// This avoids unnecessary downloads and potential conflicts when the library is included as a
|
|
|
|
// module dependency in an application project.
|
|
|
|
if (project == rootProject) {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath("com.android.tools.build:gradle:3.5.3")
|
|
|
|
}
|
2016-04-11 04:13:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2020-02-12 06:55:28 +00:00
|
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 28)
|
|
|
|
buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')
|
2016-04-11 04:13:01 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2019-03-26 17:50:39 +00:00
|
|
|
minSdkVersion safeExtGet('minSdkVersion', 16)
|
2020-02-12 06:55:28 +00:00
|
|
|
targetSdkVersion safeExtGet('targetSdkVersion', 28)
|
2016-04-11 04:13:01 +00:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2020-02-12 06:55:28 +00:00
|
|
|
google()
|
|
|
|
jcenter()
|
2016-04-11 04:13:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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:+'
|
2020-03-04 17:46:11 +00:00
|
|
|
implementation 'com.eightbitlab:blurview:1.6.3'
|
2017-04-10 16:55:58 +00:00
|
|
|
}
|