From ed3ad32fa596e5d850d250340351fa6508c0f857 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 19 Nov 2017 22:44:47 +0100 Subject: [PATCH] update Commons to 2.41.4 --- app/build.gradle | 23 +++++------------------ build.gradle | 7 ++++++- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 8f259ff7..49fc9f11 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -47,27 +47,14 @@ ext { } dependencies { - compile 'com.simplemobiletools:commons:2.38.6' - compile 'com.facebook.stetho:stetho:1.5.0' - compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" + implementation 'com.simplemobiletools:commons:2.41.4' + implementation 'com.facebook.stetho:stetho:1.5.0' - debugCompile "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion" - releaseCompile "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion" + debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion" + releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion" } -buildscript { - ext.kotlin_version = '1.1.51' - 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 8c22f111..a87e8adc 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,16 @@ // 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 +20,8 @@ buildscript { allprojects { repositories { jcenter() + google() maven { url "https://jitpack.io" } - maven { url "https://maven.google.com" } } }