apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion '22.0.0' defaultConfig {
applicationId "com.edaixi.activity"
minSdkVersion 9
targetSdkVersion 22
versionCode 15
versionName "3.5" // dex突破65535的限制
multiDexEnabled true
//manifestPlaceholders = [UMENG_CHANNEL_VALUE: "default_channel"]
} // productFlavors {
// default_channel {}
// wandoujia {}
// xiaomi {}
// baidu {}
// huawei {}
// }
// productFlavors.all { flavor ->
// flavor.manifestPlaceholders = [UMENG_CHANNEL_VALUE: name]
// } signingConfigs {
debug {
// No debug config
} release {
storeFile file("/工作文件/AndroidStudioKey/edaixisign")
storePassword "edaixi.com"
keyAlias "edaixi"
keyPassword "edaixi.com"
} } lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
} buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// 移除无用的resource文件
shrinkResources true
}
} sourceSets {
main {
java.srcDirs = ['src/main/java', 'src/main/java-gen']
jniLibs.srcDirs = ['libs']
}
} packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
} dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile files('libs/fastjson-1.2.6.jar')
compile files('libs/umeng-update-v2.6.0.1.jar')
compile files('libs/mta-sdk-1.6.2.jar')
compile files('libs/libammsdk.jar')
compile files('libs/Cashier_SDK-v4.2.0.jar')
compile 'com.loopj.android:android-async-http:1.4.8'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.android.support:support-v4:22.2.1'
compile 'com.android.support:recyclerview-v7:22.2.1'
compile 'de.greenrobot:greendao:1.3.7'
compile 'com.android.support:appcompat-v7:22.2.1'
compile files('libs/MagicWindowSDK.jar')
compile files('libs/locSDK_5.2.jar')
compile files('libs/baidumapapi_v3_5_0.jar')
compile files('libs/eventbus-2.4.0.jar')
compile files('libs/alipaysdk.jar')
compile files('libs/TalkingDataAnalytics_V1.2.79.jar')
compile files('libs/umeng-analytics-v5.5.3.jar')
compile files('libs/du.jar')
compile files('libs/avoscloud-v2.6.9.1.jar')
compile "com.networkbench.newlens.agent.android:nbs.newlens.agent:2.2.6"
} buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath fileTree(dir: '/工作文件/听云依赖', include: ['*.jar'])
//在buildscript添加这行,地址换成自己的. 听云sdk的编译插件,不会嵌入在apk中.
}
}
repositories {
mavenCentral()
}
apply plugin: 'android'
apply plugin: 'newlens'

  

工作备份 build.gradle的更多相关文章

  1. com.android.tools.build:gradle:X.XX.XX:gradle.jar 插件无法下载问题

    在使用Android Studio 这个IDE时,出现com.android.tools.build:gradle:X.XX.XX:gradle.jar 插件无法下载问题 可能的原因就是网速不好或者依 ...

  2. 解决 Could not find com.android.tools.build:gradle 问题

    今天拉同事最新的代码,编译时老是报如下错误: Error:Could not find com.android.tools.build:gradle:2.2.0.Searched in the fol ...

  3. build.gradle文件介绍

    对于以前用Eclipse开发安卓的小伙伴来说,Gradle文件是陌生的. 不同于Eclipse,而Android Studio 是采用Gradle来构建项目的. 先来介绍最外层目录下的build.gr ...

  4. 怎么将Android studio 的“ build:gradle改低一点”

    参考来源:http://bbs.qcloud.com/thread-17193-1-1.html Error:Execution failed for task ':xxxx:compileDebug ...

  5. Could not find com.android.tools.build:gradle:1.3.0.

    * What went wrong:          A problem occurred configuring project ':TZYJ_Android'.> Could not re ...

  6. Failed to apply plugin [id 'com.android.application'] 和 Could not find com.android.tools.build:gradle:2.XX的最正确的解决方法

    发现android studio是真的可爱啊,上一秒还没问题可以build运行,下一秒就出错...好,你任性,你牛逼.. 说下今天又遇到的两个问题:Failed to apply plugin [id ...

  7. module中build.gradle文件参数含义

    主要是module的build.gradle,截图如下: 01行:apply plugin: 'com.android.application'    表示该module是这个应用程序的module ...

  8. 用Gradle构建时,将密码等敏感信息放在build.gradle之外

    密码 在做版本release时你app的 build.gradle你需要定义 signingConfigs.此时你应该避免以下内容: 不要做这个 . 这会出现在版本控制中. signingConfig ...

  9. 添加 Gradle 依赖与 build.gradle 配置初识

    添加 Gradle 我们可以到我们添加 Maven 依赖的网站 Maven Repository: Search/Browse/Explore http://mvnrepository.com/ 上查 ...

随机推荐

  1. Type.GetType()在跨程序集反射时返回null的解决方法

    在开发中,经常会遇到这种情况,在程序集A.dll中需要反射程序集B.dll中的类型.如果使用稍有不慎,就会产生运行时错误.例如使用Type.GetType("BNameSpace.Class ...

  2. L10 数据入站、转发、出站流程

    二 写出防火墙规则链之间的顺序也就是入站数据流向.转发数据流向.出站数据流向的过程 入站:PREROUTING→INPUT 数据包到达防火墙,由prerouting处理,判断是否修改地址 路由选择:判 ...

  3. synchronized 关键字

    synchronized 多用于并发不高并且需要单线程运行的地方.比如你有一个A方法,你在方法上加了synchronized修饰.那么两个人同时去调用这个方法的时候不是并行的,是抢占的,谁先抢到资源谁 ...

  4. Win32汇编开始 Hello Asm

    今天开始学习Win32汇编 因为自己很多都是Windows方面 所以 接触一下Win32汇编 . ;.386指令集 .model flat,stdcall ;工作模式 option casemap:n ...

  5. Qt3D教程

    美其名曰教程 其实就是自己的学习之旅 惯例第一章是qt3d的安装 首先说下环境 Windows_Xp_sp3 下载链接 Qt library 4.8.5 下载链接 (在安装Qt library之前,需 ...

  6. JAVA 8 新特性和改进

    Java 8的所有新特性及改进包括(JEP全称为JDK Enhancement Proposal,JDK改进建议): 语言改进: JEP 126:Lambda表达式 & 虚拟扩展方法 JEP ...

  7. HTML5之Viewport详解

    做移动Web开发也有一年多的时间了,虽然手机上浏览器对于PC上来说很友好了,但是手机各种设备的显示尺寸分辨率大小不一也要花大心思兼容它们. 关于HTML5中Viewport的文章Google,百度一搜 ...

  8. MYSQL设置字段数据过长自动截断

    自动截断如下设置: windows: 修改my.ini: [mysqld] sql-mode="STRICT_TRANS_TABLES" linux: 修改/ect/mysql/m ...

  9. sqlmap的详细使用

    各项参数讲的太仔细了,对于只会几个参数的我来说,太受用了. 先mark下 http://drops.wooyun.org/tips/143 http://drops.wooyun.org/tips/4 ...

  10. 管道通信之无名管道---pipe()

    pipe()函数在子进程产生之前就应该存在. 父子进程之间只进行一次传递 /*============================================ > Copyright ( ...