Skip to content

Commit

Permalink
- Update: Dependencies, Shared Element API, and Gradle Settings
Browse files Browse the repository at this point in the history
This commit introduces several updates:

- **Dependency Updates:**
    - Upgrades various libraries, including Paging, Navigation Compose, Lifecycle, Activity Compose, DragSelect, Compose BOM, Coil, and Zoomable Image Glide.
    - Updates the AndroidX version catalog to the latest version (2024.11.00).
- **Shared Element API Change:**
    - Modifies the `sharedElement` function in `SharedElementUtils.kt` to use `sharedContentState` instead of `state`. This aligns with the updated Shared Element API in Compose.
- **Gradle Settings Adjustment:**
    - Comments out the Develocity plugin and associated configurations in `settings.gradle.kts`, potentially streamlining the build process.
  • Loading branch information
jacobrein committed Nov 14, 2024
1 parent 2b1850b commit e074ae6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fun Modifier.customSharedElement(
if (animatedScope != null && key != null && scope != null) {
with(scope) {
sharedElement(
state = rememberSharedContentState(key = key),
sharedContentState = rememberSharedContentState(key = key),
animatedVisibilityScope = animatedScope,
/*boundsTransform = boundsTransform,
placeHolderSize = placeHolderSize,
Expand Down
14 changes: 7 additions & 7 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ kspVersion = "2.0.21-1.0.27"

androidxBaselineprofileGradlePlugin = "1.3.3"
composeCollapsable = "0.4.0"
dragselect = "2.3.2"
dragselect = "2.4.1"
easylauncher = "6.4.0"
firebaseCrashlyticsGradle = "3.0.2"
googleServices = "4.4.2"
Expand All @@ -19,14 +19,14 @@ latestAboutLibsRelease = "11.2.3"
coroutinesVersion = "1.9.0"
glideVersion = "4.16.0"
pagecurl = "1.5.1"
pagingVersion = "3.3.2"
pagingVersion = "3.3.4"
protobufGradlePlugin = "0.9.4"
reorderable = "2.4.0"
roomVersion = "2.7.0-alpha11"
navVersion = "2.9.0-alpha02"
navVersion = "2.9.0-alpha03"
koinVersion = "4.0.0"
coil = "2.7.0"
lifecycle = "2.9.0-alpha06"
lifecycle = "2.9.0-alpha07"
jetpack = "1.6.0-alpha03"
jetpackCompiler = "1.5.11"
jetbrainsCompiler = "1.5.1"
Expand All @@ -38,12 +38,12 @@ ziplineVersion = "1.1.0"
landscapist = "2.4.2"
protobufVersion = "4.26.1"
sketchVersion = "3.3.2"
activity = "1.10.0-alpha03"
activity = "1.10.0-beta01"
composeVersion = "1.8.0-alpha01"
compose3Version = "1.3.0"
compose3CommonVersion = "1.0.0-alpha01"
compose3AdaptiveVersion = "1.1.0-alpha02"
composeBomVersion = "2024.10.01"
composeBomVersion = "2024.11.00"
materialKolor = "2.0.0"
firebaseKtx = "0.2.1"

Expand All @@ -60,7 +60,7 @@ uiautomator = "2.3.0"
benchmark-macro-junit4 = "1.3.0"
androidx-baselineprofile = "1.3.0"
profileinstaller = "1.3.1"
zoomableImageGlide = "0.13.0"
zoomableImageGlide = "0.14.0"
zoomimageComposeGlide = "1.0.2"

googleAndroidLibrariesMapsplatformSecretsGradlePlugin = "2.0.1"
Expand Down
6 changes: 3 additions & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ dependencyResolutionManagement {
//TODO: Remove current ones and replace with this!
versionCatalogs {
create("androidx") {
from("androidx.gradle:gradle-version-catalog:2024.10.01")
from("androidx.gradle:gradle-version-catalog:2024.11.00")
}
}
}

plugins {
/*plugins {
id("com.gradle.develocity") version ("3.18.1")
}
Expand All @@ -39,7 +39,7 @@ develocity {
publishing { onlyIf { true } }
}
}
}
}*/

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

Expand Down

0 comments on commit e074ae6

Please sign in to comment.