// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter{
url 'http://jcenter.bintray.com/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'
classpath 'com.antfortune.freeline:gradle:0.8.6'
classpath "io.realm:realm-gradle-plugin:1.2.0"
classpath 'com.tencent.bugly:symtabfileuploader:latest.release'
// TinkerPatch 插件
// classpath "com.tinkerpatch.sdk:tinkerpatch-gradle-plugin:${TINKERPATCH_VERSION}"
// tinker gradle插件
// classpath "com.tencent.tinker:tinker-patch-gradle-plugin:${TINKER_VERSION}"
// tinker support插件
classpath "com.tencent.bugly:tinker-support:1.0.4"
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter{
url 'http://jcenter.bintray.com/'
}
maven {url 'https://jitpack.io'}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//统一配置管理
ext {
compileSdkVersion = 24
buildToolsVersion = '24.0.1'
applicationId = 'com.zhilianbao.leyaogo'
minSdkVersion = 16
targetSdkVersion = 21
versionCode = 100
versionName = '1.0.0'
}
ext.deps = [
"supportv4" : 'com.android.support:support-v4:24.1.1',
"appcompatv7" : 'com.android.support:appcompat-v7:24.1.1',
"butterknife" : 'com.jakewharton:butterknife:8.4.0',
"compiler" : 'com.jakewharton:butterknife-compiler:8.4.0',
"nineoldandroids" : 'com.nineoldandroids:library:2.4.0',
"glide" : 'com.github.bumptech.glide:glide:3.7.0',
"gms" : 'com.google.android.gms:play-services-appindexing:8.1.0',
//Material Icons
"materialicons" : 'com.malinskiy:materialicons:1.0.2',
//状态栏着色工具
"systembartint" : 'com.readystatesoftware.systembartint:systembartint:1.0.3',
//Leakcanary 内存泄漏检测工具
"leakcanarydebug" : 'com.squareup.leakcanary:leakcanary-android:1.5',
"leakcanaryrelease" : 'com.squareup.leakcanary:leakcanary-android-no-op:1.5',
//Stetho Chrome调试APP工具
"stetho" : 'com.facebook.stetho:stetho-okhttp3:1.4.1',
"gson" : 'com.google.code.gson:gson:2.8.0',
"eventbus" : 'org.greenrobot:eventbus:3.0.0',
"okhttp" : 'com.squareup.okhttp3:okhttp:3.4.2',
//EasyPermissions is a wrapper library to simplify basic system permissions logic when targeting Android M or higher.
"easypermissions" : 'pub.devrel:easypermissions:0.1.4',
"recyclerview" : 'com.android.support:recyclerview-v7:24.1.1',
"easing" : 'com.daimajia.easing:library:1.0.1@aar',
"androidanimations" : 'com.daimajia.androidanimations:library:1.1.3@aar',
"swipelayout" : 'com.daimajia.swipelayout:library:1.2.0@aar',
"fresco" : 'com.facebook.fresco:fresco:0.14.1',
"imagepipeline" : 'com.facebook.fresco:imagepipeline-okhttp3:0.10.0',
"photoview" : 'com.github.chrisbanes:PhotoView:1.2.6',
"videoplayer" : 'fm.jiecao:jiecaovideoplayer:3.2',
"roundedimageview" : 'com.makeramen:roundedimageview:2.2.1',
"swipereveallayout" : 'com.chauthai.swipereveallayout:swipe-reveal-layout:1.2.0',
"packer" : 'com.mcxiaoke.gradle:packer-helper:1.0.5',
"design" : 'com.android.support:design:24.1.1',
"rxandroid" : 'io.reactivex:rxandroid:1.2.1',
"rxjava" : 'io.reactivex:rxjava:1.1.6',
"rxbinding" : 'com.jakewharton.rxbinding:rxbinding:0.4.0',
"CircularReveal" : 'com.github.ozodrukh:CircularReveal:1.1.1',
"smoothAppBar" : 'me.henrytao:smooth-app-bar-layout:24.1.1.0',
"pinyin" : 'com.github.promeg:tinypinyin:1.0.0',
"calendar" : 'com.prolificinteractive:material-calendarview:1.4.0',
"recovery" : 'com.zxy.android:recovery:0.0.5',
"changeskin" : 'com.zhy:changeskin:3.0.0',
"glidetransformations" : 'jp.wasabeef:glide-transformations:2.0.1',
"glideokhttp" : 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar',
"zxing" : 'com.google.zxing:core:3.2.1',
"junit" : 'junit:junit:4.12',
"layoutcast" : 'com.github.mmin18.layoutcast:library:1.+@aar',
"blockcanarydebug" : 'com.github.markzhai:blockcanary-android:1.4.0',
"blockcanaryrelease" : 'com.github.markzhai:blockcanary-no-op:1.4.0',
"floatingactionbutton" : 'com.melnykov:floatingactionbutton:1.3.0',
"flowlayout" : 'com.heaven7.android.dragflowlayout:dragflowlayout:1.8.3',
"tagview" : 'com.github.kingideayou:tagcloudview:1.0.2',
"floatingview" : 'com.ufreedom.uikit:FloatingViewLib:1.0.1',
"multitype" : 'me.drakeet.multitype:multitype:2.3.0',
"gif" : 'pl.droidsonroids.gif:android-gif-drawable:1.2.3',
"SubsamplingScaleImageView": 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0',
"progresspieview" : 'com.github.filippudak.progresspieview:library:1.0.+',
"autovalue" : 'com.google.auto.value:auto-value:1.2',
"fastjson" : 'com.alibaba:fastjson:1.2.21',
//Tinker基本接入
"tinkeranno" : "com.tencent.tinker:tinker-android-anno:${TINKER_VERSION}",
"tinkerlib" : "com.tencent.tinker:tinker-android-lib:${TINKER_VERSION}",
"roundedimageview" : 'com.makeramen:roundedimageview:2.3.0',
//TinkerPatch平台接入
"tinkerpatch" : "com.tinkerpatch.sdk:tinkerpatch-android-sdk:${TINKERPATCH_VERSION}",
//bugly 上报 更新(应用升级和热更新)
"crashreport_upgrade" : 'com.tencent.bugly:crashreport_upgrade:latest.release',
"nativecrashreport" : 'com.tencent.bugly:nativecrashreport:latest.release',
"photoView451" : 'com.commit451:PhotoView:1.2.4',
"arouterApi" : 'com.alibaba:arouter-api:1.0.5',
"arouterCompiler" : 'com.alibaba:arouter-compiler:1.0.2',
"jiecaovideoplayer" : 'fm.jiecao:jiecaovideoplayer:5.5'
]
}
一键复制
编辑
Web IDE
原始数据
按行查看
历史