react-native-blur/android/build.gradle

44 lines
904 B
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 {
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 {
compileSdkVersion safeExtGet('compileSdkVersion', 25)
buildToolsVersion safeExtGet('buildToolsVersion', '25.0.3')
2016-04-11 04:13:01 +00:00
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 22)
2016-04-11 04:13:01 +00:00
versionCode 1
versionName "1.0"
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
}