From 4d56cee1f549711837793531c863e0202d97f92b Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 7 Aug 2018 05:30:15 +0000 Subject: [PATCH] Use variable version numbers --- .idea/caches/build_file_checksums.ser | Bin 535 -> 535 bytes app/build.gradle | 29 ++++++++++++++++---------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 2a6ebdea5292be0ba45a6c0a092e98df414dfdbf..bd541ede8dbabcdfc426a4127f8042ba0a439150 100644 GIT binary patch delta 53 zcmV-50LuTD1eXMmm;@5t3uuv?pAeNGZfYq03cqe+L|c&jHCmHP0lN`t&!7`c1cCf! LFDv}!nwMmFKkOE} delta 53 zcmV-50LuTD1eXMmm;?~)G*ywDpAeCw*S5E`M=aAHkQx`~<1~{?0lN|VFkg`wFh!{d L)nd|wCahL?a61=9 diff --git a/app/build.gradle b/app/build.gradle index a8a08127..6987d054 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -45,22 +45,29 @@ repositories { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) + def support_version = "28.0.0-alpha1" + def constraintlayout_version = "1.1.2" // 2.0.0-alpha1 + def lifecycle_version = "1.1.1" + def room_version = "1.1.1" + def javamail_version = "1.6.0" + def jsoup_version = "1.11.3" + // https://developer.android.com/topic/libraries/support-library/revisions.html - implementation 'com.android.support:appcompat-v7:28.0.0-alpha1' - implementation 'com.android.support.constraint:constraint-layout:1.1.+' - implementation 'com.android.support:recyclerview-v7:28.0.0-alpha1' - implementation 'com.android.support:design:28.0.0-alpha1' + implementation "com.android.support:appcompat-v7:$support_version" + implementation "com.android.support.constraint:constraint-layout:$constraintlayout_version" + implementation "com.android.support:recyclerview-v7:$support_version" + implementation "com.android.support:design:$support_version" // https://developer.android.com/topic/libraries/architecture/adding-components.html - implementation "android.arch.lifecycle:extensions:1.1.+" - implementation "android.arch.persistence.room:runtime:1.1.+" - annotationProcessor "android.arch.lifecycle:compiler:1.1.+" - annotationProcessor "android.arch.persistence.room:compiler:1.1.+" + implementation "android.arch.lifecycle:extensions:$lifecycle_version" + implementation "android.arch.persistence.room:runtime:$room_version" + annotationProcessor "android.arch.lifecycle:compiler:$lifecycle_version" + annotationProcessor "android.arch.persistence.room:compiler:$room_version" // https://javaee.github.io/javamail/ - implementation 'com.sun.mail:android-mail:1.6.0' - implementation 'com.sun.mail:android-activation:1.6.0' + implementation "com.sun.mail:android-mail:$javamail_version" + implementation "com.sun.mail:android-activation:$javamail_version" // https://jsoup.org/ - implementation 'org.jsoup:jsoup:1.11.3' + implementation "org.jsoup:jsoup:$jsoup_version" }