build.gradle文件备份

buildscript {
    repositories {
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.0'
//        classpath 'me.tatarka:gradle-retrolambda:3.2.5'
//        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
    }
}


repositories {
    mavenLocal()
    mavenCentral()
    jcenter()
    flatDir {
        dirs 'libs'
    }
}
apply plugin: 'com.android.application'
//apply plugin:'me.tatarka.retrolambda'
//apply plugin: 'com.neenbedankt.android-apt'
dependencies {
    compile fileTree(include: '*.jar', dir: 'libs')
    compile project(':ShortcutBadger')
    compile project(':pullRefreshlibrary')
    //    compile(name: 'recyclerview-v7-22.2.0', ext: 'aar')
    compile(name: '1515133636484_winton_passportreader_plugin-1.0.4', ext: 'aar')
    compile(name: '1515133636701_winton_bankcardreader_plugin-1.0.4', ext: 'aar')
    compile 'com.android.support:multidex:1.0.1'
    compile 'com.android.support:design:23.4.0'
    compile 'com.contrarywind:Android-PickerView:3.2.6'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.squareup.okhttp3:okhttp:3.6.0'
    compile 'com.squareup.retrofit2:retrofit:2.3.0'
    compile 'com.squareup.retrofit2:converter-gson:2.3.0'
    compile 'com.squareup.retrofit2:adapter-rxjava2:2.2.0'
    compile 'io.reactivex.rxjava2:rxjava:2.0.1'
    compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
    compile 'com.github.zhaokaiqiang.klog:library:1.6.0'
    compile 'com.alibaba:fastjson:1.1.63.android'
    compile 'id.zelory:compressor:2.1.0'
    compile 'q.rorbin:badgeview:1.1.3'
    compile 'org.greenrobot:eventbus:3.0.0'
    compile 'com.android.support:support-v13:26.1.0'
    //    compile 'cn.yipianfengye.android:zxing-library:2.2'
}
android {
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    dataBinding {
        enabled = true
    }
    signingConfigs {
        debug {
        }
    }
    compileSdkVersion 27
    buildToolsVersion '25.0.1'
    aaptOptions {
        cruncherEnabled = false
        useNewCruncher = false
    }
    dexOptions {
//        incremental true
        javaMaxHeapSize "4g"
        jumboMode true
    }
    packagingOptions {
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
    }
    lintOptions {
        abortOnError false
    }
    sourceSets {
        main {
            manifest.srcFile 'AndroidManifest.xml'
            java.srcDirs = ['src']
            resources.srcDirs = ['src']
            aidl.srcDirs = ['src']
            renderscript.srcDirs = ['src']
            res.srcDirs = ['res']
            assets.srcDirs = ['assets']
            jniLibs.srcDirs = ['libs']
        }

        instrumentTest.setRoot('tests')

        debug.setRoot('build-types/debug')
        release.setRoot('build-types/release')
    }
    defaultConfig {
        minSdkVersion 19
        targetSdkVersion 27
        multiDexEnabled true
        jackOptions {
            enabled true
        }
    }
    productFlavors {
    }
    allprojects {
        repositories {
            mavenCentral()
            maven { url 'https://maven.google.com' }
        }
    }
    useLibrary 'org.apache.http.legacy'

    buildTypes {
        debug {
            signingConfig signingConfigs.debug
        }
    }


}

猜你喜欢

转载自blog.csdn.net/cui130/article/details/80076596