aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
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'