summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle27
1 files changed, 7 insertions, 20 deletions
diff --git a/build.gradle b/build.gradle
index 601d66a..bef5465 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,32 +1,19 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
-
buildscript {
-
- ext {
- kotlin_version = '1.3.70'
- }
+ apply from: 'config.gradle'
+
repositories {
google()
- jcenter()
-
+ mavenCentral()
+ maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
- classpath 'com.android.tools.build:gradle:3.6.1'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
-
-
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
+ classpath "com.android.tools.build:gradle:$versions.gradlePluginVersion"
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlinVersion"
}
}
-allprojects {
- repositories {
- google()
- jcenter()
-
- }
-}
+apply from: 'config.gradle'
task clean(type: Delete) {
delete rootProject.buildDir