react-native-fast-image/android/build.gradle

49 lines
1.3 KiB
Groovy
Raw Normal View History

2017-04-13 04:13:44 +00:00
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
}
}
apply plugin: 'com.android.library'
def _ext = rootProject.ext
def _reactNativeVersion = _ext.has('reactNative') ? _ext.reactNative : '+'
2018-05-06 07:39:22 +00:00
def _compileSdkVersion = _ext.has('compileSdkVersion') ? _ext.compileSdkVersion : 23
def _buildToolsVersion = _ext.has('buildToolsVersion') ? _ext.buildToolsVersion : '23.0.1'
def _minSdkVersion = _ext.has('minSdkVersion') ? _ext.minSdkVersion : 16
def _targetSdkVersion = _ext.has('targetSdkVersion') ? _ext.targetSdkVersion : 22
2017-04-13 04:13:44 +00:00
android {
compileSdkVersion _compileSdkVersion
buildToolsVersion _buildToolsVersion
2017-04-13 04:13:44 +00:00
2017-07-05 08:10:21 +00:00
defaultConfig {
minSdkVersion _minSdkVersion
targetSdkVersion _targetSdkVersion
2017-07-05 08:10:21 +00:00
versionCode 1
versionName "1.0"
}
lintOptions {
abortOnError false
2017-04-13 04:13:44 +00:00
}
}
repositories {
2017-07-05 08:10:21 +00:00
mavenCentral()
2018-05-06 07:39:22 +00:00
maven {
url "https://maven.google.com"
}
2017-04-13 04:13:44 +00:00
}
dependencies {
//noinspection GradleDynamicVersion
compile "com.facebook.react:react-native:${_reactNativeVersion}"
2018-05-06 07:39:22 +00:00
compile "com.android.support:support-v4:${_compileSdkVersion}.+"
2018-03-18 06:22:12 +00:00
compile group: 'com.github.bumptech.glide', name: 'glide', version: '3.8.0'
compile group: 'com.github.bumptech.glide', name: 'okhttp3-integration', version: '1.5.0'
2017-04-13 04:13:44 +00:00
}