aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-12-06 00:13:47 +0530
committerAditya Wasan <adityawasan55@gmail.com>2019-12-06 00:13:47 +0530
commit2dc79c3ec165f22d1131fd5dcff50fc900d274bd (patch)
tree2dc1d91243fb691db970ffb02c7fd95a74688e7b /build.gradle
parent5e1927d068b33554b1ea983d8791ca6e4c6db101 (diff)
Update dependencies (#588)
* Add gradle-versions plugin and cleanup common configuration * build: Update all dependencies Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle10
1 files changed, 7 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index dae64bea..cebef7da 100644
--- a/build.gradle
+++ b/build.gradle
@@ -17,6 +17,10 @@ buildscript {
}
}
+plugins {
+ id "com.github.ben-manes.versions" version "0.27.0"
+}
+
allprojects {
repositories {
google()
@@ -32,12 +36,12 @@ subprojects {
google()
jcenter()
}
- if (plugins.hasPlugin('kotlin-android')) {
+ pluginManager.withPlugin('kotlin-android') {
dependencies {
- implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:' + versions.kotlin
+ implementation deps.kotlin.stdlib8
}
}
- if (it.name == 'app') {
+ if (name == 'app') {
apply plugin: 'com.android.application'
} else {
apply plugin: 'com.android.library'