2019-03-26 13:50:39 -04:00
|
|
|
def safeExtGet(prop, fallback) {
|
|
|
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
|
|
}
|
|
|
|
|
2016-04-10 21:13:01 -07:00
|
|
|
buildscript {
|
2020-02-12 10:25:28 +03:30
|
|
|
// 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-10 21:13:01 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2020-02-12 10:25:28 +03:30
|
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 28)
|
|
|
|
buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')
|
2016-04-10 21:13:01 -07:00
|
|
|
|
|
|
|
defaultConfig {
|
2019-03-26 13:50:39 -04:00
|
|
|
minSdkVersion safeExtGet('minSdkVersion', 16)
|
2020-02-12 10:25:28 +03:30
|
|
|
targetSdkVersion safeExtGet('targetSdkVersion', 28)
|
2016-04-10 21:13:01 -07:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2020-02-12 10:25:28 +03:30
|
|
|
google()
|
|
|
|
jcenter()
|
2016-04-10 21:13:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-09 00:48:08 +02:00
|
|
|
//noinspection GradleDynamicVersion
|
2019-03-26 14:52:44 -04:00
|
|
|
implementation 'com.facebook.react:react-native:+'
|
2020-03-04 14:46:11 -03:00
|
|
|
implementation 'com.eightbitlab:blurview:1.6.3'
|
2017-04-10 23:55:58 +07:00
|
|
|
}
|