mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2025-02-25 03:45:21 +00:00
27 lines
1.0 KiB
Groovy
27 lines
1.0 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
def DEFAULT_COMPILE_SDK_VERSION = 29
|
|
def DEFAULT_BUILD_TOOLS_VERSION = "29.0.2"
|
|
def DEFAULT_TARGET_SDK_VERSION = 29
|
|
def DEFAULT_MIN_SDK_VERSION = 16
|
|
|
|
android {
|
|
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
|
|
buildToolsVersion rootProject.hasProperty('buildToolsVersion') ? rootProject.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.hasProperty('minSdkVersion') ? rootProject.minSdkVersion : DEFAULT_MIN_SDK_VERSION
|
|
targetSdkVersion rootProject.hasProperty('targetSdkVersion') ? rootProject.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
|
|
versionCode 1
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.facebook.react:react-native:+'
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
|
|
implementation 'com.github.yalantis:ucrop:2.2.5-native'
|
|
}
|