mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +05:30
build: reject updates for AGP
This commit is contained in:
parent
c657ed4fa8
commit
cb81b58653
1 changed files with 6 additions and 1 deletions
|
@ -26,7 +26,12 @@ fun isNonStable(version: String): Boolean {
|
|||
}
|
||||
|
||||
tasks.withType<DependencyUpdatesTask>().configureEach {
|
||||
rejectVersionIf { isNonStable(candidate.version) && !isNonStable(currentVersion) }
|
||||
rejectVersionIf {
|
||||
when (candidate.group) {
|
||||
"com.android.application", "com.android.library" -> true
|
||||
else -> isNonStable(candidate.version) && !isNonStable(currentVersion)
|
||||
}
|
||||
}
|
||||
checkForGradleUpdate = false
|
||||
checkBuildEnvironmentConstraints = true
|
||||
outputFormatter = "json"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue