mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 23:47:02 +05:30
Merge #175
175: Update all dependencies r=msfjarvis a=msfjarvis bors r+ Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
commit
5c7f38c2dc
8 changed files with 17 additions and 16 deletions
|
@ -3,7 +3,7 @@ plugins {
|
||||||
kotlin("android")
|
kotlin("android")
|
||||||
kotlin("kapt")
|
kotlin("kapt")
|
||||||
id("dagger.hilt.android.plugin")
|
id("dagger.hilt.android.plugin")
|
||||||
id("org.jetbrains.compose") version "0.4.0-build173"
|
id("org.jetbrains.compose") version "0.4.0-build177"
|
||||||
id("shot")
|
id("shot")
|
||||||
`versioning-plugin`
|
`versioning-plugin`
|
||||||
`lobsters-plugin`
|
`lobsters-plugin`
|
||||||
|
@ -42,8 +42,8 @@ dependencies {
|
||||||
implementation(Dependencies.AndroidX.Lifecycle.runtimeKtx)
|
implementation(Dependencies.AndroidX.Lifecycle.runtimeKtx)
|
||||||
implementation(Dependencies.AndroidX.Lifecycle.viewmodelKtx)
|
implementation(Dependencies.AndroidX.Lifecycle.viewmodelKtx)
|
||||||
implementation(Dependencies.Kotlin.Coroutines.android)
|
implementation(Dependencies.Kotlin.Coroutines.android)
|
||||||
implementation(Dependencies.ThirdParty.accompanist)
|
implementation(Dependencies.ThirdParty.accompanistCoil)
|
||||||
implementation(Dependencies.ThirdParty.composeFlowLayout)
|
implementation(Dependencies.ThirdParty.accompanistFlow)
|
||||||
implementation(Dependencies.ThirdParty.Moshi.lib)
|
implementation(Dependencies.ThirdParty.Moshi.lib)
|
||||||
implementation(Dependencies.ThirdParty.pullToRefresh)
|
implementation(Dependencies.ThirdParty.pullToRefresh)
|
||||||
implementation(Dependencies.ThirdParty.Retrofit.moshi)
|
implementation(Dependencies.ThirdParty.Retrofit.moshi)
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 254 KiB |
Binary file not shown.
Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 238 KiB |
Binary file not shown.
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
|
@ -28,8 +28,8 @@ import androidx.compose.ui.text.font.FontWeight
|
||||||
import androidx.compose.ui.tooling.preview.Preview
|
import androidx.compose.ui.tooling.preview.Preview
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import coil.transform.CircleCropTransformation
|
import coil.transform.CircleCropTransformation
|
||||||
import com.star_zero.compose.flowlayout.FlowLayout
|
import com.google.accompanist.coil.CoilImage
|
||||||
import dev.chrisbanes.accompanist.coil.CoilImage
|
import com.google.accompanist.flowlayout.FlowRow
|
||||||
import dev.msfjarvis.lobsters.R
|
import dev.msfjarvis.lobsters.R
|
||||||
import dev.msfjarvis.lobsters.data.api.LobstersApi
|
import dev.msfjarvis.lobsters.data.api.LobstersApi
|
||||||
import dev.msfjarvis.lobsters.data.local.SavedPost
|
import dev.msfjarvis.lobsters.data.local.SavedPost
|
||||||
|
@ -213,9 +213,9 @@ fun TagRow(
|
||||||
Box(
|
Box(
|
||||||
modifier = Modifier.then(modifier),
|
modifier = Modifier.then(modifier),
|
||||||
) {
|
) {
|
||||||
FlowLayout(
|
FlowRow(
|
||||||
horizontalSpacing = 8.dp,
|
mainAxisSpacing = 8.dp,
|
||||||
verticalSpacing = 8.dp,
|
crossAxisSpacing = 8.dp,
|
||||||
) {
|
) {
|
||||||
tags.forEach { tag ->
|
tags.forEach { tag ->
|
||||||
Text(
|
Text(
|
||||||
|
|
|
@ -16,7 +16,7 @@ object Plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
object Dependencies {
|
object Dependencies {
|
||||||
const val COMPOSE_VERSION = "1.0.0-beta02"
|
const val COMPOSE_VERSION = "1.0.0-beta03"
|
||||||
|
|
||||||
object Kotlin {
|
object Kotlin {
|
||||||
|
|
||||||
|
@ -31,14 +31,14 @@ object Dependencies {
|
||||||
|
|
||||||
object AndroidX {
|
object AndroidX {
|
||||||
|
|
||||||
const val appCompat = "androidx.appcompat:appcompat:1.3.0-beta01"
|
const val appCompat = "androidx.appcompat:appcompat:1.3.0-rc01"
|
||||||
const val browser = "androidx.browser:browser:1.3.0"
|
const val browser = "androidx.browser:browser:1.3.0"
|
||||||
const val coreLibraryDesugaring = "com.android.tools:desugar_jdk_libs:1.0.10"
|
const val coreLibraryDesugaring = "com.android.tools:desugar_jdk_libs:1.0.10"
|
||||||
const val datastore = "androidx.datastore:datastore-preferences:1.0.0-alpha08"
|
const val datastore = "androidx.datastore:datastore-preferences:1.0.0-alpha08"
|
||||||
|
|
||||||
object Compose {
|
object Compose {
|
||||||
|
|
||||||
const val activity = "androidx.activity:activity-compose:1.3.0-alpha04"
|
const val activity = "androidx.activity:activity-compose:1.3.0-alpha05"
|
||||||
const val compiler = "androidx.compose.compiler:compiler:$COMPOSE_VERSION"
|
const val compiler = "androidx.compose.compiler:compiler:$COMPOSE_VERSION"
|
||||||
const val foundation = "androidx.compose.foundation:foundation:$COMPOSE_VERSION"
|
const val foundation = "androidx.compose.foundation:foundation:$COMPOSE_VERSION"
|
||||||
const val foundationLayout = "androidx.compose.foundation:foundation-layout:$COMPOSE_VERSION"
|
const val foundationLayout = "androidx.compose.foundation:foundation-layout:$COMPOSE_VERSION"
|
||||||
|
@ -59,7 +59,7 @@ object Dependencies {
|
||||||
|
|
||||||
object Lifecycle {
|
object Lifecycle {
|
||||||
|
|
||||||
private const val version = "2.3.0"
|
private const val version = "2.4.0-alpha01"
|
||||||
const val runtimeKtx = "androidx.lifecycle:lifecycle-runtime-ktx:$version"
|
const val runtimeKtx = "androidx.lifecycle:lifecycle-runtime-ktx:$version"
|
||||||
const val viewmodelKtx = "androidx.lifecycle:lifecycle-viewmodel-ktx:$version"
|
const val viewmodelKtx = "androidx.lifecycle:lifecycle-viewmodel-ktx:$version"
|
||||||
}
|
}
|
||||||
|
@ -67,8 +67,9 @@ object Dependencies {
|
||||||
|
|
||||||
object ThirdParty {
|
object ThirdParty {
|
||||||
|
|
||||||
const val accompanist = "dev.chrisbanes.accompanist:accompanist-coil:0.6.2"
|
private const val accompanistVersion = "0.7.0"
|
||||||
const val composeFlowLayout = "com.star-zero:compose-flowlayout:0.0.1"
|
const val accompanistCoil = "com.google.accompanist:accompanist-coil:$accompanistVersion"
|
||||||
|
const val accompanistFlow = "com.google.accompanist:accompanist-flowlayout:$accompanistVersion"
|
||||||
const val kamel = "com.alialbaali.kamel:kamel-image:0.2.0"
|
const val kamel = "com.alialbaali.kamel:kamel-image:0.2.0"
|
||||||
const val pullToRefresh = "com.puculek.pulltorefresh:pull-to-refresh-compose:1.0.1"
|
const val pullToRefresh = "com.puculek.pulltorefresh:pull-to-refresh-compose:1.0.1"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("multiplatform")
|
kotlin("multiplatform")
|
||||||
id("com.android.library")
|
id("com.android.library")
|
||||||
id("org.jetbrains.compose") version "0.4.0-build173"
|
id("org.jetbrains.compose") version "0.4.0-build177"
|
||||||
`lobsters-plugin`
|
`lobsters-plugin`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ import org.jetbrains.compose.compose
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
id("org.jetbrains.compose") version "0.4.0-build175"
|
id("org.jetbrains.compose") version "0.4.0-build177"
|
||||||
`lobsters-plugin`
|
`lobsters-plugin`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue