Skip to content

Commit

Permalink
Merge pull request #547 from DroidKaigi/update-compose-rc01
Browse files Browse the repository at this point in the history
Update Compose RC1 and related dependencies
  • Loading branch information
takahirom authored Jul 10, 2021
2 parents e87b391 + b7c54f9 commit 95a710d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.0-alpha02'
classpath 'com.android.tools.build:gradle:7.1.0-alpha03'
classpath Dep.Kotlin.bom
classpath Dep.Kotlin.plugin
classpath Dep.Kotlin.stdlibJdk8
Expand Down
18 changes: 9 additions & 9 deletions buildSrc/src/main/java/Dep.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.droidkaigi.feeder

object Versions {
const val compose = "1.0.0-beta08"
const val coroutines = "1.4.2-native-mt"
const val compose = "1.0.0-rc01"
const val coroutines = "1.5.0-native-mt"
}

object Dep {
Expand Down Expand Up @@ -31,7 +31,7 @@ object Dep {
const val browser = "androidx.browser:browser:1.3.0"
const val dataStore = "androidx.datastore:datastore-preferences:1.0.0-alpha06"

const val core = "androidx.core:core-ktx:1.5.0-beta01"
const val core = "androidx.core:core-ktx:1.6.0"
const val fragment = "androidx.fragment:fragment-ktx:1.3.0"
const val activity = "androidx.activity:activity-ktx:1.2.0"
const val lifecycle = "androidx.lifecycle:lifecycle-livedata-ktx:2.3.0"
Expand Down Expand Up @@ -79,7 +79,7 @@ object Dep {
}

object Ktor {
const val bom = "io.ktor:ktor-bom:1.5.2"
const val bom = "io.ktor:ktor-bom:1.6.1"
const val core = "io.ktor:ktor-client-core"
const val json = "io.ktor:ktor-client-json"
const val logging = "io.ktor:ktor-client-logging"
Expand All @@ -104,12 +104,12 @@ object Dep {
}

object Accompanist {
const val insets = "com.google.accompanist:accompanist-insets:0.10.0"
const val coil = "com.google.accompanist:accompanist-coil:0.10.0"
const val pager = "com.google.accompanist:accompanist-pager:0.10.0"
const val pagerIndicators = "com.google.accompanist:accompanist-pager-indicators:0.10.0"
const val insets = "com.google.accompanist:accompanist-insets:0.13.0"
const val coil = "com.google.accompanist:accompanist-coil:0.13.0"
const val pager = "com.google.accompanist:accompanist-pager:0.13.0"
const val pagerIndicators = "com.google.accompanist:accompanist-pager-indicators:0.13.0"
const val systemuicontroller =
"com.google.accompanist:accompanist-systemuicontroller:0.10.0"
"com.google.accompanist:accompanist-systemuicontroller:0.13.0"
}

object FirebaseCrashlytics {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private fun List<SelectAll>.toPodcastItems(): List<FeedItem.Podcast> {

fun fakeFeedItemDao(error: AppError? = null): FeedItemDao = object : FeedItemDao {
private val channel = Channel<List<FeedItem>>(Channel.CONFLATED).apply {
offer(emptyList())
trySend(emptyList())
}

override fun selectAll(): Flow<List<FeedItem>> = flow {
Expand Down

0 comments on commit 95a710d

Please sign in to comment.