diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2019-04-29 17:31:46 +0530 |
---|---|---|
committer | Harsh Shandilya <msfjarvis@gmail.com> | 2019-04-29 17:36:38 +0530 |
commit | a832a60c11f36f637e989b9b3c8fa9c19be6a4ab (patch) | |
tree | c22a835efd4940cc7b343054a86279ce4dfa1973 /build.gradle.kts | |
parent | 00e2cf352fe08252853c4d271711d96b9456ef26 (diff) |
Dependency updates
Gradle 5.4.1
AGP 3.4.0
Kotlin 1.3.31
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 40 |
1 files changed, 23 insertions, 17 deletions
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<DependencyUpdatesTask>("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<DependencyUpdatesTask>("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>("wrapper") { + gradleVersion = "5.4.1" + distributionType = Wrapper.DistributionType.ALL } - checkForGradleUpdate = true - outputFormatter = "json" - outputDir = "build/dependencyUpdates" - reportfileName = "report" } |