Pulse/build.gradle

24 lines
521 B
Groovy
Raw Normal View History

2025-04-29 23:54:43 +02:00
plugins {
id 'com.github.ben-manes.versions' version '0.51.0'
id 'com.android.application' version '8.2.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.22' apply false
}
2022-02-01 23:38:08 +03:00
2025-04-29 23:54:43 +02:00
dependencyUpdates {
rejectVersionIf {
isNonStable(candidate.version)
2022-02-01 23:38:08 +03:00
}
2025-04-29 23:54:43 +02:00
outputFormatter = 'plain'
checkForGradleUpdate = true
2022-02-01 23:38:08 +03:00
}
2025-04-29 23:54:43 +02:00
def isNonStable(String version) {
return version =~ /(?i).*(alpha|beta|rc|cr|m|preview|b\d+|ea\d+).*/
}
2022-02-01 23:38:08 +03:00
task clean(type: Delete) {
delete rootProject.buildDir
2025-04-29 23:54:43 +02:00
}