mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 03:17:03 +05:30
build: replace kotlinx dependencies with square ones
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
461b466bb8
commit
d917f7c881
3 changed files with 22 additions and 26 deletions
|
@ -16,22 +16,6 @@ object Dependencies {
|
|||
const val android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version"
|
||||
const val core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version"
|
||||
}
|
||||
|
||||
object Ktor {
|
||||
|
||||
private const val version = "1.4.2"
|
||||
const val clientCore = "io.ktor:ktor-client-core:$version"
|
||||
const val clientJson = "io.ktor:ktor-client-json:$version"
|
||||
const val clientSerialization = "io.ktor:ktor-client-serialization:$version"
|
||||
const val clientOkHttp = "io.ktor:ktor-client-okhttp:$version"
|
||||
const val clientTest = "io.ktor:ktor-client-mock:$version"
|
||||
}
|
||||
|
||||
object Serialization {
|
||||
|
||||
private const val version = "1.0.1"
|
||||
const val json = "org.jetbrains.kotlinx:kotlinx-serialization-json:$version"
|
||||
}
|
||||
}
|
||||
|
||||
object AndroidX {
|
||||
|
@ -86,19 +70,33 @@ object Dependencies {
|
|||
const val accompanist = "dev.chrisbanes.accompanist:accompanist-coil:0.4.0"
|
||||
const val customtabs = "saschpe.android:customtabs:3.0.2"
|
||||
|
||||
object Moshi {
|
||||
|
||||
private const val version = "1.11.0"
|
||||
const val codegen = "com.squareup.moshi:moshi-kotlin-codegen:$version"
|
||||
const val lib = "com.squareup.moshi:moshi:$version"
|
||||
}
|
||||
|
||||
object Retrofit {
|
||||
|
||||
private const val version = "2.9.0"
|
||||
const val lib = "com.squareup.retrofit2:retrofit:$version"
|
||||
const val moshi = "com.squareup.retrofit2:converter-moshi:$version"
|
||||
}
|
||||
|
||||
object Roomigrant {
|
||||
|
||||
private const val version = "0.2.0"
|
||||
const val compiler = "com.github.MatrixDev.Roomigrant:RoomigrantCompiler:$version"
|
||||
const val runtime = "com.github.MatrixDev.Roomigrant:RoomigrantLib:$version"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
object Testing {
|
||||
|
||||
const val daggerHilt = "com.google.dagger:hilt-android-testing:$DAGGER_HILT_VERSION"
|
||||
const val junit = "junit:junit:4.13.1"
|
||||
const val mockWebServer = "com.squareup.okhttp3:mockwebserver:4.6.0"
|
||||
const val uiTest = "androidx.ui:ui-test:$COMPOSE_VERSION"
|
||||
|
||||
object AndroidX {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue