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
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "a

androidx-cardview = { module = "androidx.cardview:cardview", version.ref = "androidx-cardview" }

androidx-compose-compiler = { module = "androidx.compose.compiler:compiler", version.ref = "androidx-compose-compiler" }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We use the version reference in the Android convention plugin, but that isn't enough for Renovate to pick it up. So by defining the actual maven artifact here, Renovate will see it and include it in its update checks.


androidx-compose-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "androidx-compose" }
androidx-compose-foundation-layout = { module = "androidx.compose.foundation:foundation-layout", version.ref = "androidx-compose" }

Expand Down
22 changes: 20 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"$schema" : "https://docs.renovatebot.com/renovate-schema.json",
"extends" : [
"config:base"
],
"packageRules" : [
{
"matchPackagePatterns" : [
"^org\\.jetbrains\\.kotlin:(?:[\\w-]+)$",
"^androidx\\.compose\\.compiler:(?:[\\w-]+)$",
"^com\\.google\\.devtools\\.ksp:(?:[\\w-]+)$"
],
"groupName" : "Kotlin and compiler plugins"
},
{
"matchPackagePatterns" : [
"^androidx\\.activity:(?:[\\w-]+)$",
"^androidx\\.fragment:(?:[\\w-]+)$",
"^androidx\\.lifecycle:(?:[\\w-]+)$"
],
"groupName" : "androidx lifecycle and downstream libs"
}
]
}