2016-01-05 12:36:05 -08:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2017-12-31 13:49:39 -02:00
|
|
|
maven {
|
|
|
|
url 'https://maven.google.com'
|
|
|
|
}
|
2016-01-05 12:36:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-12-31 13:49:39 -02:00
|
|
|
classpath 'com.android.tools.build:gradle:3.0.0'
|
2016-01-05 12:36:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
2018-03-21 19:10:33 +04:00
|
|
|
def DEFAULT_COMPILE_SDK_VERSION = 26
|
|
|
|
def DEFAULT_BUILD_TOOLS_VERSION = "26.0.2"
|
|
|
|
def DEFAULT_TARGET_SDK_VERSION = 26
|
2018-03-29 21:19:30 -03:00
|
|
|
def DEFAULT_GOOGLE_PLAY_SERVICES_VERSION = "12.0.1"
|
2018-03-21 19:10:33 +04:00
|
|
|
def DEFAULT_SUPPORT_LIBRARY_VERSION = "27.1.0"
|
|
|
|
|
2016-01-05 12:36:05 -08:00
|
|
|
android {
|
2018-03-21 19:10:33 +04:00
|
|
|
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
|
|
|
|
buildToolsVersion rootProject.hasProperty('buildToolsVersion') ? rootProject.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION
|
2016-01-05 12:36:05 -08:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 16
|
2018-03-21 19:10:33 +04:00
|
|
|
targetSdkVersion rootProject.hasProperty('targetSdkVersion') ? rootProject.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
|
|
|
|
|
2016-01-05 12:36:05 -08:00
|
|
|
versionCode 1
|
2017-12-31 13:49:39 -02:00
|
|
|
versionName "1.0.0"
|
2016-01-05 12:36:05 -08:00
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
2016-02-02 13:13:57 +02:00
|
|
|
warning 'InvalidPackage'
|
2016-01-05 12:36:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2017-12-31 13:49:39 -02:00
|
|
|
maven {
|
|
|
|
url 'https://maven.google.com'
|
|
|
|
}
|
|
|
|
maven { url "https://jitpack.io" }
|
2016-01-05 12:36:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-03-21 19:10:33 +04:00
|
|
|
def googlePlayServicesVersion = rootProject.hasProperty('googlePlayServicesVersion') ? rootProject.googlePlayServicesVersion : DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
|
|
|
|
def supportLibVersion = rootProject.hasProperty('supportLibVersion') ? rootProject.supportLibVersion : DEFAULT_SUPPORT_LIBRARY_VERSION
|
|
|
|
|
2018-01-24 14:59:24 +03:00
|
|
|
compile 'com.facebook.react:react-native:+'
|
|
|
|
compile "com.google.zxing:core:3.2.1"
|
|
|
|
compile "com.drewnoakes:metadata-extractor:2.9.1"
|
2018-03-23 14:13:29 +01:00
|
|
|
compile "com.google.android.gms:play-services-vision:$googlePlayServicesVersion"
|
|
|
|
compile "com.android.support:exifinterface:$supportLibVersion"
|
2018-03-22 14:33:54 +01:00
|
|
|
|
2018-03-29 21:07:47 -03:00
|
|
|
compile 'com.github.react-native-community:cameraview:eb9f726215bbbfcc03a54db92e480d4d02e0c001'
|
2016-01-05 12:36:05 -08:00
|
|
|
}
|