build.gradle 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion rootProject.ext.compileSdkVersion
  4. buildToolsVersion rootProject.ext.buildToolsVersion
  5. defaultConfig {
  6. minSdkVersion rootProject.ext.minSdkVersion
  7. targetSdkVersion rootProject.ext.targetSdkVersion
  8. versionCode rootProject.ext.versionCode
  9. versionName rootProject.ext.versionName
  10. }
  11. }
  12. dependencies {
  13. compile fileTree(dir: 'libs', include: ['*.jar'])
  14. //Android Support
  15. compile "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
  16. compile "com.android.support:design:$rootProject.supportLibraryVersion"
  17. compile "com.android.support:percent:$rootProject.supportLibraryVersion"
  18. //网络请求相关
  19. compile "com.squareup.retrofit2:retrofit:$rootProject.retrofitVersion"
  20. compile "com.squareup.retrofit2:retrofit-mock:$rootProject.retrofitVersion"
  21. compile "com.github.franmontiel:PersistentCookieJar:$rootProject.cookieVersion"
  22. //稳定的
  23. compile "com.github.bumptech.glide:glide:$rootProject.glideVersion"
  24. compile "com.orhanobut:logger:$rootProject.loggerVersion"
  25. compile "org.greenrobot:eventbus:$rootProject.eventbusVersion"
  26. compile "com.google.code.gson:gson:$rootProject.gsonVersion"
  27. //不稳定的
  28. compile "com.github.mzule.activityrouter:activityrouter:$rootProject.routerVersion"
  29. compile "com.jude:easyrecyclerview:$rootProject.easyRecyclerVersion"
  30. compile "com.github.GrenderG:Toasty:$rootProject.toastyVersion"
  31. }