common: add NetworkImage composable

This commit is contained in:
Harsh Shandilya 2021-08-05 21:32:13 +05:30
parent 450d4836c5
commit a8016391c9
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
5 changed files with 77 additions and 3 deletions

View file

@ -27,13 +27,21 @@ kotlin {
api(compose.foundation)
api(compose.material)
api(projects.database)
implementation("com.alialbaali.kamel:kamel-image:0.2.1")
}
}
val commonTest by getting
val androidMain by getting { dependencies { implementation(libs.androidx.browser) } }
val androidMain by getting {
dependencies {
implementation(libs.androidx.browser)
implementation(libs.coil.compose)
}
}
val androidTest by getting { dependsOn(androidAndroidTestRelease) }
val desktopMain by getting
val desktopMain by getting {
dependencies {
implementation(libs.kamel.image)
}
}
val desktopTest by getting
}
}