Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ jobs:
- name: Build debug APK
run: ./gradlew assembleDebug --no-configuration-cache

- name: Verify Screenshot Tests (AndroidX)
run: ./gradlew validateDebugScreenshotTest

- name: Run local unit tests
run: ./gradlew testDebugUnitTest

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ import androidx.compose.ui.geometry.Rect
)
val MotionScheme.sharedElementTransitionSpec: BoundsTransform
@Composable
get() = object : BoundsTransform {
override fun transform(
initialBounds: Rect,
targetBounds: Rect,
): FiniteAnimationSpec<Rect> {
return this@sharedElementTransitionSpec.slowSpatialSpec()
}
get() = BoundsTransform { _, _ ->
this@sharedElementTransitionSpec.slowSpatialSpec()
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,7 @@ val LocalAnimateBoundsScope = compositionLocalOf<LookaheadScope?> {
)
val MotionScheme.sharedElementTransitionBounds: BoundsTransform
@Composable
get() = object : BoundsTransform {
override fun transform(
initialBounds: Rect,
targetBounds: Rect,
): FiniteAnimationSpec<Rect> {
return sharedElementTransitionSpec()
}
}
get() = BoundsTransform { _, _ -> sharedElementTransitionSpec() }

fun <T> MotionScheme.sharedElementTransitionSpec(): FiniteAnimationSpec<T> {
return tween(600)
Expand Down
6 changes: 2 additions & 4 deletions feature/camera/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.kotlin.ksp)
alias(libs.plugins.hilt)
alias(libs.plugins.composeScreenshot)
}

android {
Expand All @@ -42,8 +41,6 @@ android {
compose = true
}

experimentalProperties["android.experimental.enableScreenshotTest"] = true

testOptions {
targetSdk = 36
}
Expand Down Expand Up @@ -95,5 +92,6 @@ dependencies {
kspAndroidTest(libs.hilt.compiler)

debugImplementation(libs.androidx.ui.test.manifest)
screenshotTestImplementation(libs.androidx.ui.tooling)
// Disable until it works with newer Gradle versions
// screenshotTestImplementation(libs.androidx.ui.tooling)
}
3 changes: 0 additions & 3 deletions feature/creation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.kotlin.ksp)
alias(libs.plugins.hilt)
alias(libs.plugins.composeScreenshot)
}

android {
Expand All @@ -44,8 +43,6 @@ android {
compose = true
}

experimentalProperties["android.experimental.enableScreenshotTest"] = true

testOptions {
unitTests {
isIncludeAndroidResources = true
Expand Down
3 changes: 0 additions & 3 deletions feature/home/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.kotlin.ksp)
alias(libs.plugins.hilt)
alias(libs.plugins.composeScreenshot)
}

android {
Expand All @@ -42,8 +41,6 @@ android {
compose = true
}

experimentalProperties["android.experimental.enableScreenshotTest"] = true

testOptions {
targetSdk = 36
}
Expand Down
3 changes: 0 additions & 3 deletions feature/results/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.kotlin.ksp)
alias(libs.plugins.hilt)
alias(libs.plugins.composeScreenshot)
}

android {
Expand All @@ -43,8 +42,6 @@ android {
compose = true
}

experimentalProperties["android.experimental.enableScreenshotTest"] = true

testOptions {
targetSdk = 36
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ kotlin.code.style=official
android.nonTransitiveRClass=true
android.disableMinifyLocalDependenciesForLibraries=true
org.gradle.configuration-cache=true
android.experimental.enableScreenshotTest=true
android.experimental.enableScreenshotTest=false
38 changes: 18 additions & 20 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
appVersionCode = "10"
appVersionName = "1.3.0"
appVersionWearOffset = "60000000"
agp = "8.12.0"
bcpkixJdk18on = "1.82"
agp = "8.13.1"
bcpkixJdk18on = "1.83"
compileSdk = "36"
core = "1.7.0"
extensionsXr = "1.1.0"
Expand All @@ -16,17 +16,16 @@ wearMinSdk = "36"

#dependencies
accompanist = "0.37.3"
activityCompose = "1.11.0"
adaptive = "1.1.0"
animationAndroid = "1.9.3"
activityCompose = "1.12.1"
adaptive = "1.2.0"
apksig = "9.0.0-alpha06"
appcompat = "1.7.1"
baselineprofile = "1.4.1"
benchmarkMacroJunit4 = "1.4.1"
camerax = "1.5.1"
camerax = "1.5.2"
coilCompose = "3.3.0"
coilGif = "3.3.0"
composeBom = "2025.10.00"
composeBom = "2025.12.00"
concurrent = "1.3.0"
converterGson = "2.11.0"
coreKtx = "1.17.0"
Expand All @@ -46,19 +45,19 @@ hiltNavigationCompose = "1.3.0"
horologist = "0.7.15"
junit = "4.13.2"
junitVersion = "1.3.0"
kotlin = "2.2.0"
ksp = "2.2.0-2.0.2"
kotlin = "2.2.21"
ksp = "2.2.20-2.0.3"
kotlinxCoroutines = "1.10.2"
kotlinxSerialization = "2.2.20"
kotlinxSerialization = "2.2.21"
kotlinxSerializationJson = "1.9.0"
kotlinxSerializationProtobuf = "1.9.0"
ktlint = "1.5.0"
lifecycleRuntimeKtx = "2.9.4"
lifecycleRuntimeKtx = "2.10.0"
lifecycleViewmodelNavigation3 = "1.0.0-alpha04"
loggingInterceptor = "5.2.1"
material = "1.12.0"
loggingInterceptor = "5.3.2"
material3 = "1.5.0-alpha10"
media3 = "1.8.0"
navigation3 = "1.0.0-alpha11"
navigation3 = "1.0.0"
okhttp = "4.12.0"
playServicesWearable = "19.0.0"
playServicesBaseTesting = "16.2.0"
Expand All @@ -70,8 +69,8 @@ spotless = "8.0.0"
startup = "1.2.0"
runner = "1.7.0"
uiTextGoogleFonts = "1.9.3"
uiautomator = "2.4.0-alpha06"
uiTooling = "1.9.3"
uiautomator = "2.4.0-alpha07"
uiTooling = "1.10.0"
validatorPush = "1.0.0-alpha08"
watchFacePush = "1.0.0-alpha01"
wear = "1.3.0"
Expand All @@ -93,14 +92,14 @@ androidx-activity-compose = { group = "androidx.activity", name = "activity-comp
androidx-adaptive = { module = "androidx.compose.material3.adaptive:adaptive", version.ref = "adaptive" }
androidx-adaptive-layout = { module = "androidx.compose.material3.adaptive:adaptive-layout", version.ref = "adaptive" }
androidx-adaptive-navigation = { module = "androidx.compose.material3.adaptive:adaptive-navigation", version.ref = "adaptive" }
androidx-animation-android = { group = "androidx.compose.animation", name = "animation-android", version.ref = "animationAndroid" }
androidx-animation-android = { group = "androidx.compose.animation", name = "animation-android" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
androidx-app-startup = { group = "androidx.startup", name = "startup-runtime", version.ref = "startup" }
androidx-camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "camerax" }
androidx-camera-compose = { module = "androidx.camera:camera-compose", version.ref = "camerax" }
androidx-camera-core = { module = "androidx.camera:camera-core", version.ref = "camerax" }
androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "camerax" }
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom-alpha", version.ref = "composeBom" }
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
androidx-concurrent-futures-ktx = { module = "androidx.concurrent:concurrent-futures-ktx", version.ref = "concurrent" }
androidx-core = { module = "androidx.test:core", version.ref = "core" }
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
Expand All @@ -113,7 +112,7 @@ androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "j
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycleRuntimeKtx" }
androidx-lifecycle-viewmodel-navigation3 = { module = "androidx.lifecycle:lifecycle-viewmodel-navigation3", version.ref = "lifecycleViewmodelNavigation3" }
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
androidx-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material3" }
androidx-media3-exoplayer = { group = "androidx.media3", name = "media3-exoplayer", version.ref = "media3" }
androidx-media3-ui = { group = "androidx.media3", name = "media3-ui", version.ref = "media3" }
androidx-media3-ui-compose = { group = "androidx.media3", name = "media3-ui-compose", version.ref = "media3" }
Expand Down Expand Up @@ -198,5 +197,4 @@ kotlin-ksp = { id ="com.google.devtools.ksp", version.ref = "ksp" }
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlinxSerialization" }
android-test = { id = "com.android.test", version.ref = "agp" }
baselineprofile = { id = "androidx.baselineprofile", version.ref = "baselineprofile" }
composeScreenshot = { id = "com.android.compose.screenshot", version = "0.0.1-alpha10" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }