Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. return new Retrofit.Builder()
  2. .baseUrl(BASE_URL)
  3. .client(client)
  4. //.addConverterFactory(MoshiConverterFactory.create())
  5. .addConverterFactory(GsonConverterFactory.create(gson))
  6. .build();
  7.  
  8. apply plugin: 'com.android.application'
  9. apply plugin: 'com.neenbedankt.android-apt'
  10.  
  11. android {
  12. compileSdkVersion 25
  13. buildToolsVersion '25.0.2'
  14.  
  15. defaultConfig {
  16. applicationId "com.test.test"
  17. minSdkVersion 19
  18. targetSdkVersion 23
  19. versionCode 1
  20. versionName "1.0"
  21. }
  22. buildTypes {
  23. release {
  24. minifyEnabled false
  25. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  26. }
  27. }
  28. configurations {
  29. all*.exclude group: 'org.bytedeco', module: 'javacpp-presets'
  30. }
  31.  
  32. packagingOptions {
  33. exclude 'META-INF/maven/org.bytedeco.javacpp-presets/ffmpeg/pom.properties'
  34. exclude 'META-INF/maven/org.bytedeco.javacpp-presets/ffmpeg/pom.xml'
  35. }
  36. }
  37.  
  38. dependencies {
  39. compile fileTree(dir: 'libs', include: ['*.jar'])
  40. //compile 'com.android.support:design:25.3.1'
  41. compile files('libs/ffmpeg.jar')
  42. compile files('libs/javacpp.jar')
  43. compile files('libs/javacv.jar')
  44.  
  45. //compile 'com.jakewharton:butterknife:8.6.0'
  46. compile 'com.github.hotchemi:permissionsdispatcher:2.0.7'
  47. compile 'com.jakewharton:butterknife:8.0.1'
  48. compile 'com.android.support:support-v4:25.3.1'
  49. compile 'com.android.support:cardview-v7:25.3.1'
  50. compile 'com.android.support:appcompat-v7:25.3.1'
  51. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  52. compile 'com.squareup.retrofit2:retrofit:2.3.0'
  53. compile 'com.squareup.retrofit2:converter-moshi:2.3.0'
  54. compile 'com.android.support:design:25.4.0'
  55. compile 'com.basgeekball:awesome-validation:2.0'
  56. compile 'com.facebook.stetho:stetho:1.5.0'
  57. compile 'com.facebook.stetho:stetho-okhttp3:1.5.0'
  58. compile 'com.facebook.android:facebook-android-sdk:[4,5)'
  59. testCompile 'junit:junit:4.12'
  60. testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
  61. annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
  62. apt 'com.jakewharton:butterknife-compiler:8.0.1'
  63. apt 'com.github.hotchemi:permissionsdispatcher-processor:2.0.7'
  64. debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
  65. provided 'javax.annotation:jsr250-api:1.0'
  66. releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
  67. compile 'com.google.code.gson:gson:2.7'
  68. }
  69.  
  70. compile 'com.squareup.retrofit2:converter-gson:2.3.0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement