apply plugin: 'com.android.library'
apply from: "http://git.caicaivip.com/frontend/dailuobo/raw/develop/config.gradle?private_token=zRp9t4z_VErcCiBwxx6a"
buildscript {
    repositories {
        jcenter()
        google()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
    }
}

repositories {
    mavenLocal()
    jcenter()
    maven {
        // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
        url "$rootDir/../node_modules/react-native/android"
    }
    google()
}

android {
    compileSdkVersion rootProject.ext.compileSdkVersion


    defaultConfig {
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion

    }
    lintOptions {
        abortOnError false
    }
}

dependencies {
    compile 'com.facebook.react:react-native:+'
//    compile 'com.github.yalantis:ucrop:2.2.1-native'
    compile 'id.zelory:compressor:2.1.0'
    compile 'org.greenrobot:eventbus:3.1.1'
//    compile rootProject.ext.commonDependencies["recyclerview-v7"]
//    compile rootProject.ext.commonDependencies["appcompat-v7"]
//    implementation rootProject.ext.commonDependencies["design"]
    compile ('com.xgn.public:imagepicker:1.1.2-SNAPSHOT')
            {
////                exclude group: 'com.facebook.fresco'
////                exclude group: 'io.reactivex.rxjava2'
//        exclude group: 'com.android.support'
////        exclude group: 'org.reactivestreams'
//        exclude group: 'com.xgn.public', module: 'ucrop-lib'
        }
}
