|
@@ -31,4 +31,30 @@ You might also need [rules for OkHttp][okhttp proguard] and [Okio][okio proguard
|
|
|
[snap]: https://s01.oss.sonatype.org/content/repositories/snapshots/
|
|
|
[proguard file]: https://github.com/square/retrofit/blob/master/retrofit/src/main/resources/META-INF/proguard/retrofit2.pro
|
|
|
[okhttp proguard]: https://square.github.io/okhttp/r8_proguard/
|
|
|
- [okio proguard]: https://square.github.io/okio/#r8-proguard
|
|
|
+ [okio proguard]: https://square.github.io/okio/#r8-proguard
|
|
|
+
|
|
|
+```
|
|
|
+ dependencies {
|
|
|
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
+ implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
|
+ implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
|
+ implementation 'com.android.support:design:28.0.0'
|
|
|
+
|
|
|
+ //RxJava2
|
|
|
+ implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
|
|
|
+ implementation 'io.reactivex.rxjava2:rxjava:2.1.17'
|
|
|
+
|
|
|
+ implementation 'com.tspoon.traceur:traceur:1.0.1'
|
|
|
+ implementation 'com.jakewharton.rxrelay2:rxrelay:2.0.0'
|
|
|
+
|
|
|
+ //Retrofit2
|
|
|
+ implementation 'com.squareup.retrofit2:retrofit:2.3.0'
|
|
|
+ implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
|
|
|
+ implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
|
|
|
+
|
|
|
+ implementation 'com.squareup.okhttp3:logging-interceptor:3.8.1'
|
|
|
+
|
|
|
+ implementation 'com.jakewharton:butterknife:10.1.0'
|
|
|
+ annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
|
|
|
+}
|
|
|
+```
|