Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

okhttp3 library in android studio

dependencies {
       // define a BOM and its version
       implementation(platform("com.squareup.okhttp3:okhttp-bom:4.9.0"))

       // define any required OkHttp artifacts without version
       implementation("com.squareup.okhttp3:okhttp")
       implementation("com.squareup.okhttp3:logging-interceptor")
    }
Source by square.github.io #
 
PREVIOUS NEXT
Tagged: #library #android #studio
ADD COMMENT
Topic
Name
7+8 =