1 Star 0 Fork 603

HXWANHC / zftlive

forked from Ajava攻城师 / zftlive 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.28 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
zengfantian 提交于 2018-03-28 12:06 . 同步最新AS工程类库代码
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
//这一点非常重要,那就是gradle build tools的版本设置成1.1.2以上,因为以前的版本有严重的bug
classpath 'com.android.tools.build:gradle:2.3.3'
//maven打包需要android-maven-plugin (:1.5指定版本或者:latest.release最新版本)
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
//上传Bintray需要 1.7.1
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
//最新版本,需要配合gradle3.0+,对应关系https://github.com/dcendents/android-maven-gradle-plugin
//classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
}
}
//统一编译环境
//minSdkVersion <= targetSdkVersion <= compileSdkVersion
ext {
compileSdkVersion = 23 //编译SDK版本
buildToolsVersion = "25.0.3"//编译SDK工具版本
minSdkVersion = 9 //兼容最低版本
targetSdkVersion = 22 //23需要特殊处理动态授权
}
allprojects {
repositories {
maven { url "https://jitpack.io" }
maven { url "https://dl.bintray.com/zengfantian/android"}
jcenter()
}
}
Android
1
https://gitee.com/huangcao/zftlive.git
git@gitee.com:huangcao/zftlive.git
huangcao
zftlive
zftlive
master

搜索帮助

14c37bed 8189591 565d56ea 8189591