Step 1: Add Dependency
id("kotlin-kapt")
id("com.google.devtools.ksp").version("1.6.10-1.0.4")
id("com.google.devtools.ksp").version("1.6.10-1.0.4")
implementation("com.squareup.retrofit2:retrofit:2.9.0")
implementation("com.squareup.retrofit2:converter-moshi:2.9.0")
implementation("com.squareup.moshi:moshi:1.15.0")
ksp("com.squareup.moshi:moshi-kotlin-codegen:1.15.0")
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.15.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
implementation("com.github.bumptech.glide:compose:1.0.0-beta01")
implementation("com.squareup.retrofit2:converter-moshi:2.9.0")
implementation("com.squareup.moshi:moshi:1.15.0")
ksp("com.squareup.moshi:moshi-kotlin-codegen:1.15.0")
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.15.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
implementation("com.github.bumptech.glide:compose:1.0.0-beta01")
<uses-permission android:name="android.permission.INTERNET"/>
https://hp-api.onrender.com/api/characters