Skip to content

Instantly share code, notes, and snippets.

@robints
Last active June 29, 2016 03:29
Show Gist options
  • Select an option

  • Save robints/d96b4dc6b2a7ee6468ef1233ec50a283 to your computer and use it in GitHub Desktop.

Select an option

Save robints/d96b4dc6b2a7ee6468ef1233ec50a283 to your computer and use it in GitHub Desktop.
ext {
versionCode = 2000
versionName = "2.0.0"
minSdkVersion = 15
compileSdkVersion = 23
targetSdkVersion = 23
buildToolsVersion = '23.0.3'
compiles = [supportAppCompat : "com.android.support:appcompat-v7:23.4.0",
supportDesgin : "com.android.support:design:23.4.0",
supportV4 : "com.android.support:support-v4:23.4.0",
supportRecyclerView : "com.android.support:recyclerview-v7:23.4.0",
supportAnnotations : "com.android.support:support-annotations:23.4.0",
supportCardView : "com.android.support:cardview-v7:23.4.0",
// GSON解析转换
logansquare : 'com.bluelinelabs:logansquare:1.3.6',
logansquareConverter : 'com.github.aurae.retrofit2:converter-logansquare:1.4.0',
// 事件注入组件
eventbus : 'org.greenrobot:eventbus:3.0.0',
// rxjava的android实现
rxandroid : 'io.reactivex:rxandroid:1.1.0',
rxjava : 'io.reactivex:rxjava:1.1.1',
// rx生命周期管理
rxlifecycle : "com.trello:rxlifecycle:0.5.0",
rxlifecycleComponents : "com.trello:rxlifecycle-components:0.5.0",
// 方法注入
dagger : 'com.google.dagger:dagger:2.2',
daggerCompiler : 'com.google.dagger:dagger-compiler:2.2',
// 网络调试
okhttpLog : 'com.squareup.okhttp3:logging-interceptor:3.2.0',
// cookie
okhttpUrlconnection : 'com.squareup.okhttp3:okhttp-urlconnection:3.2.0',
// API请求处理
retrofit : "com.squareup.retrofit2:retrofit:2.0.0",
retrofitAdapter : "com.squareup.retrofit2:adapter-rxjava:2.0.0",
// 开发调试
stetho : "com.facebook.stetho:stetho:1.3.1",
stethoOkhttp : "com.facebook.stetho:stetho-okhttp3:1.3.1",
// 腾讯bugly
bugly : 'com.tencent.bugly:crashreport:2.1.3',
buglyUpgrade : 'com.tencent.bugly:crashreport_upgrade:1.0.2',
// 突破65k方法扩展库
multidex : 'com.android.support:multidex:1.0.1',
// nosql数据库
realm : 'io.realm:realm-android-library:0.91.0',
realmAdapter : 'io.realm:android-adapters:1.2.1',
// 图片请求
glide : 'com.github.bumptech.glide:glide:3.7.0',
// 友盟统计
umengAnalytics : 'com.umeng.analytics:analytics:latest.integration',
// otto事件总线
otto : 'com.squareup:otto:1.3.8',
// 视图注入工具
bufferknife : 'com.jakewharton:butterknife:8.1.0',
// 沉浸式
systembartint : 'com.readystatesoftware.systembartint:systembartint:1.0.3',
// 数据序列化
parcelerApi : 'org.parceler:parceler-api:1.1.1',
// 日志管理
timber : 'com.jakewharton.timber:timber:4.1.2',
// android测试
robolectric : 'org.robolectric:robolectric:3.0',
// 开发调试内存监控
leakcanary : 'com.squareup.leakcanary:leakcanary-android:1.4-beta2',
// 开发调试生命周期监控
androiddevmetricsRuntime: 'com.frogermcs.androiddevmetrics:androiddevmetrics-runtime:0.4']
provides = [daggerCompiler: 'com.google.dagger:dagger-compiler:2.2',
annotation : 'org.glassfish:javax.annotation:10.0-b28']
apts = [logansquareCompiler: 'com.bluelinelabs:logansquare-compiler:1.3.6',
parceler : 'org.parceler:parceler:1.1.1',
bufferknifeCompiler: 'com.jakewharton:butterknife-compiler:8.1.0'']
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment