summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/build.gradle.kts2
-rw-r--r--build.gradle.kts5
2 files changed, 4 insertions, 3 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 6c5d2e9a..5c7a58df 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -87,7 +87,7 @@ dependencies {
// Testing-only dependencies
androidTestImplementation("junit:junit:4.12")
- androidTestImplementation("org.mockito:mockito-core:2.24.5")
+ androidTestImplementation("org.mockito:mockito-core:2.25.0")
androidTestImplementation("androidx.test:runner:1.1.1")
androidTestImplementation("androidx.test:rules:1.1.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.1.1")
diff --git a/build.gradle.kts b/build.gradle.kts
index dc9ef005..a82668b8 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -7,7 +7,7 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath("com.android.tools.build:gradle:3.3.1")
+ classpath("com.android.tools.build:gradle:3.3.2")
classpath(kotlin("gradle-plugin", "1.3.21"))
}
}
@@ -28,9 +28,10 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates") {
resolutionStrategy {
componentSelection {
all {
+ val blacklistedGroups = listOf("com.nononsenseapps", "commons-io", "org.eclipse.jgit")
val rejected = listOf("alpha", "beta", "rc", "cr", "m", "preview")
.map { qualifier -> Regex("(?i).*[.-]$qualifier[.\\d-]*") }
- .any { it.matches(candidate.version) }
+ .any { it.matches(candidate.version) && blacklistedGroups.contains(candidate.group) }
if (rejected) {
reject("Release candidate")
}