From a832a60c11f36f637e989b9b3c8fa9c19be6a4ab Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 29 Apr 2019 17:31:46 +0530 Subject: Dependency updates Gradle 5.4.1 AGP 3.4.0 Kotlin 1.3.31 Signed-off-by: Harsh Shandilya --- build.gradle.kts | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index 78fa58db..70964e6a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,8 +7,8 @@ buildscript { mavenCentral() } dependencies { - classpath("com.android.tools.build:gradle:3.3.2") - classpath(kotlin("gradle-plugin", "1.3.21")) + classpath("com.android.tools.build:gradle:3.4.0") + classpath(kotlin("gradle-plugin", "1.3.31")) } } @@ -23,23 +23,29 @@ allprojects { mavenCentral() } } - -tasks.named("dependencyUpdates") { - resolutionStrategy { - componentSelection { - all { - val blacklistedGroups = listOf("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) && blacklistedGroups.contains(candidate.group) } - if (rejected) { - reject("Release candidate") +tasks { + named("dependencyUpdates") { + resolutionStrategy { + componentSelection { + all { + val blacklistedGroups = listOf("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) && blacklistedGroups.contains(candidate.group) } + if (rejected) { + reject("Release candidate") + } } } } + checkForGradleUpdate = true + outputFormatter = "json" + outputDir = "build/dependencyUpdates" + reportfileName = "report" + } + + named("wrapper") { + gradleVersion = "5.4.1" + distributionType = Wrapper.DistributionType.ALL } - checkForGradleUpdate = true - outputFormatter = "json" - outputDir = "build/dependencyUpdates" - reportfileName = "report" } -- cgit v1.2.3