mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-16 08:07:03 +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 {
|
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
|
checkForGradleUpdate = false
|
||||||
checkBuildEnvironmentConstraints = true
|
checkBuildEnvironmentConstraints = true
|
||||||
outputFormatter = "json"
|
outputFormatter = "json"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue