diff --git a/app/build.gradle b/app/build.gradle index 9a74f78eb..a99f9cad6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -47,30 +47,17 @@ ext { } dependencies { - compile 'com.simplemobiletools:commons:2.39.9' + compile 'com.simplemobiletools:commons:2.41.4' compile 'joda-time:joda-time:2.9.9' compile 'com.facebook.stetho:stetho:1.5.0' compile 'com.android.support:multidex:1.0.2' compile 'com.google.code.gson:gson:2.8.2' - compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" debugCompile "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion" releaseCompile "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion" } -buildscript { - ext.kotlin_version = '1.1.60' - repositories { - mavenCentral() - } - - dependencies { - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" - } -} - -def Properties props = new Properties() +Properties props = new Properties() def propFile = new File('signing.properties') if (propFile.canRead()) { props.load(new FileInputStream(propFile)) diff --git a/build.gradle b/build.gradle index 8c22f1119..1af616613 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,15 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { + ext.kotlin_version = '1.1.60' + repositories { jcenter() + google() } dependencies { classpath 'com.android.tools.build:gradle:3.0.0' + 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 @@ -15,8 +19,8 @@ buildscript { allprojects { repositories { jcenter() + google() maven { url "https://jitpack.io" } - maven { url "https://maven.google.com" } } }