Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return new Retrofit.Builder()
- .baseUrl(BASE_URL)
- .client(client)
- //.addConverterFactory(MoshiConverterFactory.create())
- .addConverterFactory(GsonConverterFactory.create(gson))
- .build();
- apply plugin: 'com.android.application'
- apply plugin: 'com.neenbedankt.android-apt'
- android {
- compileSdkVersion 25
- buildToolsVersion '25.0.2'
- defaultConfig {
- applicationId "com.test.test"
- minSdkVersion 19
- targetSdkVersion 23
- versionCode 1
- versionName "1.0"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- configurations {
- all*.exclude group: 'org.bytedeco', module: 'javacpp-presets'
- }
- packagingOptions {
- exclude 'META-INF/maven/org.bytedeco.javacpp-presets/ffmpeg/pom.properties'
- exclude 'META-INF/maven/org.bytedeco.javacpp-presets/ffmpeg/pom.xml'
- }
- }
- dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- //compile 'com.android.support:design:25.3.1'
- compile files('libs/ffmpeg.jar')
- compile files('libs/javacpp.jar')
- compile files('libs/javacv.jar')
- //compile 'com.jakewharton:butterknife:8.6.0'
- compile 'com.github.hotchemi:permissionsdispatcher:2.0.7'
- compile 'com.jakewharton:butterknife:8.0.1'
- compile 'com.android.support:support-v4:25.3.1'
- compile 'com.android.support:cardview-v7:25.3.1'
- compile 'com.android.support:appcompat-v7:25.3.1'
- compile 'com.android.support.constraint:constraint-layout:1.0.2'
- compile 'com.squareup.retrofit2:retrofit:2.3.0'
- compile 'com.squareup.retrofit2:converter-moshi:2.3.0'
- compile 'com.android.support:design:25.4.0'
- compile 'com.basgeekball:awesome-validation:2.0'
- compile 'com.facebook.stetho:stetho:1.5.0'
- compile 'com.facebook.stetho:stetho-okhttp3:1.5.0'
- compile 'com.facebook.android:facebook-android-sdk:[4,5)'
- testCompile 'junit:junit:4.12'
- testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
- annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
- apt 'com.jakewharton:butterknife-compiler:8.0.1'
- apt 'com.github.hotchemi:permissionsdispatcher-processor:2.0.7'
- debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
- provided 'javax.annotation:jsr250-api:1.0'
- releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
- compile 'com.google.code.gson:gson:2.7'
- }
- compile 'com.squareup.retrofit2:converter-gson:2.3.0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement