Updated dependencies and removed ksp for now as Glide doesn't support it yet

This commit is contained in:
Prathamesh More 2022-08-31 23:38:50 +05:30
parent b70cd181d6
commit 9dc8d55897
2 changed files with 3 additions and 17 deletions

View file

@ -4,7 +4,7 @@ buildscript {
ext {
lifecycle_version='2.5.1'
navigation_version = '2.5.1'
mdc_version = '1.7.0-beta01'
mdc_version = '1.7.0-rc01'
preference_version = '1.2.0'
appcompat_version = '1.5.0'
core_version='1.8.0'
@ -21,22 +21,9 @@ buildscript {
}
}
plugins {
id 'com.google.devtools.ksp' version '1.7.10-1.0.6' apply false
id "com.github.ben-manes.versions" version "0.42.0"
}
def isNonStable = { String version ->
def stableKeyword = ['RELEASE', 'FINAL', 'GA'].any { it -> version.toUpperCase().contains(it) }
def regex = /^[0-9,.v-]+(-r)?$/
return !stableKeyword && !(version ==~ regex)
}
tasks.named("dependencyUpdates").configure {
rejectVersionIf {
isNonStable(it.candidate.version)
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}