Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Update dependencies and add update deps workflow #948

Merged
merged 3 commits into from
Jan 8, 2024
Merged

Conversation

arriolac
Copy link
Contributor

@arriolac arriolac commented Jan 3, 2024

Changes:

  • Update dependencies to latest and update breaking changes
  • Add a new workflow that runs every month to check for updated dependencies (it can also be manually run)

Change-Id: Ic667c05d37eee5738bc24b2a18b2182093abb5c0
Change-Id: Ia037b710c933db39aca71db19d5bcfdf476bf0e9
@arriolac arriolac requested a review from a team as a code owner January 3, 2024 19:47
@@ -0,0 +1,26 @@
#
# Copyright 2020 The Android Open Source Project

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, it still feels like 2020 but supposedly it's 2024 these days

@@ -0,0 +1,72 @@
/*
* Copyright 2022 The Android Open Source Project

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2022 is closer haha

@@ -26,3 +26,21 @@ versionCatalogUpdate {
keepUnusedPlugins.set(true)
}
}

def isNonStable = { String version ->
def stableKeyword = ['RELEASE', 'FINAL', 'GA'].any { it -> version.toUpperCase().contains(it) }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do these (potentially) show up? Is it reading something from maven? Otherwise, I'd think none of our versions would match since the stable releases are things like 1.2.3.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okhttpLogging = "4.10.0"
pagingCompose = "1.0.0-alpha19"
profileInstaller = "1.2.0"
minSdk = "28"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a pretty big jump; intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I bumped this while debugging, but it doesn't have to be 28. Will revert.

@@ -93,11 +96,11 @@ androidx-paging-compose = { module = "androidx.paging:paging-compose", version.r
androidx-profileinstaller = { module = "androidx.profileinstaller:profileinstaller", version.ref = "profileInstaller" }
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
androidx-room-runtime = "androidx.room:room-runtime:2.5.2"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this have a specific version instead of the room value above (2.6.1 now)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version-catalog-update-plugin decided to update this and it's unclear why 🤔 However, this dependency is not used by the project so we can remove it altogether.

Change-Id: I4c327c615af09020f07cc9efcae98e0195c820e7
Copy link

@IanGClifton IanGClifton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I'll leave it up to you on whether you want another set of eyes on it

@arriolac
Copy link
Contributor Author

arriolac commented Jan 8, 2024

Thanks! Will merge this one in as I'd like to update dependencies since that fixes some issues such as previews not working (regression introduced in an alpha version of material3). I'll create a separate PR if anyone else on the team finds anything

@arriolac arriolac merged commit 60a9daf into main Jan 8, 2024
2 checks passed
@arriolac arriolac deleted the chris/update_deps branch January 8, 2024 22:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants