Skip to content

Instantly share code, notes, and snippets.

@hiteshchopra11
Last active April 23, 2022 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiteshchopra11/02b3e07a18f2b6fc6a17583c5564c27f to your computer and use it in GitHub Desktop.
Save hiteshchopra11/02b3e07a18f2b6fc6a17583c5564c27f to your computer and use it in GitHub Desktop.
Dependencies for SSE
dependencies {
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
// Okhttp
implementation "com.squareup.okhttp3:okhttp:4.9.3"
// Server Sent Events
implementation "com.squareup.okhttp3:okhttp-sse:4.9.3"
testImplementation "com.squareup.okhttp3:okhttp-sse:4.9.3"
// Coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment