Skip to content

Commit

Permalink
Merge pull request #762 from square/renovate/configure
Browse files Browse the repository at this point in the history
Configure Renovate
  • Loading branch information
RBusarow authored Oct 31, 2023
2 parents b6e0b3a + 08e3c39 commit b191f30
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 6 deletions.
16 changes: 10 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

[versions]
agp = "7.3.1"
androidx-appcompat = "1.1.0"
androidx-core = "1.3.0"
androidx-test = "1.1.0"
androidx-test-ext = "1.1.1"
autoService = "1.1.1"
autoValue = "1.10.1"
buildconfig = "4.1.2"
Expand Down Expand Up @@ -51,14 +55,14 @@ ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
mavenPublishBase = { id = "com.vanniktech.maven.publish.base", version.ref = "mavenPublish" }

[libraries]
androidx-appcompat = "androidx.appcompat:appcompat:1.1.0"
androidx-core = "androidx.core:core-ktx:1.3.0"
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }
androidx-core = { module = "androidx.core:core-ktx", version.ref = "androidx-core" }
androidx-material = "com.google.android.material:material:1.1.0"
androidx-test-core = "androidx.test:core:1.1.0"
androidx-test-core = { module = "androidx.test:core", version.ref = "androidx-test" }
androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espresso" }
androidx-test-junit = "androidx.test.ext:junit:1.1.1"
androidx-test-rules = "androidx.test:rules:1.1.0"
androidx-test-runner = "androidx.test:runner:1.1.0"
androidx-test-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-ext" }
androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidx-test" }
androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidx-test" }

agp = { module = "com.android.tools.build:gradle", version.ref = "agp" }

Expand Down
31 changes: 31 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema" : "https://docs.renovatebot.com/renovate-schema.json",
"extends" : [
"config:base"
],
"rebaseWhen" : "conflicted",
"rebaseLabel" : "rebase",
"packageRules" : [
{
"groupName" : "Kotlin and compiler plugins",
"matchPackagePatterns" : [
"^org\\.jetbrains\\.kotlin:",
"^com\\.google\\.devtools\\.ksp:",
"^com\\.square\\.anvil:",
"^dev\\.zacsweers\\.kctfork:"
]
},
{
"groupName" : "androidx.test and friends",
"matchPackagePatterns" : [
"^androidx\\.test:",
"^androidx\\.test\\.ext:",
"^com\\.google\\.truth:",
"^junit:junit:"
]
}
],
"labels" : [
"dependencies"
]
}

0 comments on commit b191f30

Please sign in to comment.