react-native-blur/android/build.gradle

48 lines
1.2 KiB
Groovy
Raw Normal View History

def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
2016-04-11 04:13:01 +00:00
buildscript {
// 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 {
compileSdkVersion safeExtGet('compileSdkVersion', 28)
buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')
2016-04-11 04:13:01 +00:00
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 28)
2016-04-11 04:13:01 +00:00
versionCode 1
versionName "1.0"
}
lintOptions {
abortOnError false
}
}
repositories {
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:+'
implementation 'com.eightbitlab:blurview:1.6.3'
2017-04-10 16:55:58 +00:00
}