Skip to content

Commit a992fa3

Browse files
authored
Merge branch 'dev_alpha06' into mv/crane_alpha06
2 parents 79d98d5 + c5f8e74 commit a992fa3

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

Rally/app/src/androidTest/java/com/example/compose/rally/AnimatingCircleTests.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ import org.junit.Test
3737
* For assertions, a simple screenshot testing framework is used. It requires SDK 26+ and to
3838
* be run on a device with 420dpi, as that the density used to generate the golden images
3939
* present in androidTest/assets. It runs bitmap comparisons on device.
40+
*
41+
* Note that different systems can produce slightly different screenshots making the test fail.
4042
*/
4143
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.O)
4244
class AnimatingCircleTests {
4345

4446
@get:Rule
45-
val composeTestRule = createComposeRule(disableTransitions = false)
47+
val composeTestRule = createComposeRule()
4648

4749
@Test
4850
fun circleAnimation_idle_screenshot() {

Rally/app/src/main/java/com/example/compose/rally/ui/components/CommonUi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.example.compose.rally.ui.components
1818

19-
import androidx.compose.foundation.Icon
2019
import androidx.compose.foundation.Text
2120
import androidx.compose.foundation.background
2221
import androidx.compose.foundation.layout.Arrangement
@@ -29,6 +28,7 @@ import androidx.compose.foundation.layout.preferredSize
2928
import androidx.compose.foundation.layout.preferredWidth
3029
import androidx.compose.material.AmbientEmphasisLevels
3130
import androidx.compose.material.Divider
31+
import androidx.compose.material.Icon
3232
import androidx.compose.material.MaterialTheme
3333
import androidx.compose.material.ProvideEmphasis
3434
import androidx.compose.material.icons.Icons

Rally/app/src/main/java/com/example/compose/rally/ui/components/TopAppBar.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import androidx.compose.animation.animate
2020
import androidx.compose.animation.animateContentSize
2121
import androidx.compose.animation.core.LinearEasing
2222
import androidx.compose.animation.core.tween
23-
import androidx.compose.foundation.Icon
2423
import androidx.compose.foundation.Text
2524
import androidx.compose.foundation.layout.Row
2625
import androidx.compose.foundation.layout.Spacer
@@ -29,6 +28,7 @@ import androidx.compose.foundation.layout.padding
2928
import androidx.compose.foundation.layout.preferredHeight
3029
import androidx.compose.foundation.layout.preferredWidth
3130
import androidx.compose.foundation.selection.selectable
31+
import androidx.compose.material.Icon
3232
import androidx.compose.material.MaterialTheme
3333
import androidx.compose.material.Surface
3434
import androidx.compose.material.ripple.RippleIndication

Rally/app/src/main/java/com/example/compose/rally/ui/overview/OverviewScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.example.compose.rally.ui.overview
1818

19-
import androidx.compose.foundation.Icon
2019
import androidx.compose.foundation.ScrollableColumn
2120
import androidx.compose.foundation.Text
2221
import androidx.compose.foundation.background
@@ -30,6 +29,7 @@ import androidx.compose.foundation.layout.padding
3029
import androidx.compose.foundation.layout.preferredHeight
3130
import androidx.compose.material.AmbientEmphasisLevels
3231
import androidx.compose.material.Card
32+
import androidx.compose.material.Icon
3333
import androidx.compose.material.IconButton
3434
import androidx.compose.material.MaterialTheme
3535
import androidx.compose.material.ProvideEmphasis

Rally/buildSrc/src/main/java/com/example/compose/rally/buildsrc/dependencies.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ object Libs {
4747
const val coreKtx = "androidx.core:core-ktx:1.5.0-alpha02"
4848

4949
object Compose {
50-
const val snapshot = ""
51-
const val version = "1.0.0-alpha05"
50+
const val snapshot = "6922857"
51+
const val version = "1.0.0-SNAPSHOT"
5252

5353
const val core = "androidx.compose.ui:ui:$version"
5454
const val foundation = "androidx.compose.foundation:foundation:$version"
@@ -92,5 +92,5 @@ object Libs {
9292

9393
object Urls {
9494
const val composeSnapshotRepo = "https://androidx-dev-prod.appspot.com/snapshots/builds/" +
95-
"${Libs.AndroidX.Compose.snapshot}/artifacts/ui/repository/"
95+
"${Libs.AndroidX.Compose.snapshot}/artifacts/repository/"
9696
}

Rally/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ distributionBase=GRADLE_USER_HOME
1919
distributionPath=wrapper/dists
2020
zipStoreBase=GRADLE_USER_HOME
2121
zipStorePath=wrapper/dists
22-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip
22+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip

0 commit comments

Comments
 (0)