From 78bcee166e7f4b2b23579900e7f32bc6d65e1e4d Mon Sep 17 00:00:00 2001 From: Graham Jones Date: Thu, 27 Dec 2018 09:11:27 +0000 Subject: [PATCH] Updated build dependencies to remove deprecated 'compile' keywords, replacing with 'implementation' to get rid of build time warnings. --- app/build.gradle | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 792a69f..86fff5a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,20 +23,20 @@ android { } dependencies { - compile files('libs/mpandroidchartlibrary-2-0-7.jar') - compile 'com.getpebble:pebblekit:3.1.0@aar' + implementation files('libs/mpandroidchartlibrary-2-0-7.jar') + implementation 'com.getpebble:pebblekit:3.1.0@aar' // Unit testing dependencies - testCompile 'junit:junit:4.12' + testImplementation 'junit:junit:4.12' // Set this dependency if you want to use Mockito - testCompile 'org.mockito:mockito-core:1.10.19' + testImplementation 'org.mockito:mockito-core:1.10.19' // Set this dependency if you want to use Hamcrest matching - testCompile 'org.hamcrest:hamcrest-library:1.1' - compile 'com.android.support:appcompat-v7:22.2.1' - compile 'com.android.support:support-v4:22.2.1' + testImplementation 'org.hamcrest:hamcrest-library:1.1' + implementation 'com.android.support:appcompat-v7:22.2.1' + implementation 'com.android.support:support-v4:22.2.1' //compile files('libs/JTransforms-3.1-with-dependencies.jar') - compile 'org.apache.commons:commons-math3:3.6.1' + implementation 'org.apache.commons:commons-math3:3.6.1' // google play services used for location finding for SMS alerts. - compile 'com.google.android.gms:play-services-location:10.0.0' + implementation 'com.google.android.gms:play-services-location:10.0.0' } repositories {