Requirement

Retrofit requires at minimum Java 8+ or Android API 21+.

R8 / PROGUARD

If you are using R8 the shrinking and obfuscation rules are included automatically.

ProGuard users must manually add the options from retrofit2.pro.

You might also need rules for OkHttp and Okio which are dependencies of this library.