Skip to content

Commit

Permalink
Clarify why older AGP and Spock are preferred (#1767)
Browse files Browse the repository at this point in the history
Clarifies why bumping AGP used for compiling isn't desired (#1762);
prevents Dependabot from suggesting it.

Clarifies why bumping Spock to `*-groovy-4.0` versions (#1764) isn't
desired. Dependabot not set to ignore these Spock versions because it's
not clear how to define a Maven version range that would exclude only
`2.x-groovy-4.0` versions.
  • Loading branch information
gabrielfeo authored Jan 31, 2025
1 parent dd270bf commit 586536f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ updates:
schedule:
interval: "daily"
time: "02:00"
# See libs.versions.toml for explanations
ignore:
- dependency-name: "com.android.tools.build:gradle"
versions: ["[8.2.0,)"]
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
4 changes: 4 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[versions]
# AGP is kept at 8.1 because it includes all referenced classes.
# Integration tests guarantee compatibility with newer AGP versions.
android-gradlePlugin = "8.1.4"
android-sdkBuildTools = "31.8.0"
github-release = "2.5.2"
gradle-pluginPublish = "1.3.1"
gradle-wrapperUpgrade = "0.12"
guava = "33.4.0-jre"
okio = "3.10.2"
# Gradle plugins must use Groovy 3
# https://docs.gradle.org/current/userguide/compatibility.html#groovy
spock = "2.3-groovy-3.0"

[libraries]
Expand Down

0 comments on commit 586536f

Please # to comment.