diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2018-10-11 21:09:45 +0530 |
---|---|---|
committer | حسين <zidhussein@gmail.com> | 2018-10-11 16:39:45 +0100 |
commit | 8ff0039be41e51e71e42553ff558640a7b74ec13 (patch) | |
tree | e3379af5ba457cdeb9bd9015722314467dabc5ed /app/build.gradle | |
parent | 9c932f1a10c31cd71206d741c102cc2beb576fa9 (diff) |
Update gradle and external dependencies (#429)
* Update gradle and external dependencies
- Switch away from deprecated compile directive
- Remove explicit buildToolsVersion, is defined by the gradle plugin now
- Fix build in SelectFolderActivity
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* Upgrade gradle plugin and wrapper to latest alpha
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* Don't use alpha gradle plugin
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 44 |
1 files changed, 20 insertions, 24 deletions
diff --git a/app/build.gradle b/app/build.gradle index f259c8fe..5c4b30d2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,7 +5,6 @@ apply plugin: 'eclipse' android { compileSdkVersion 27 - buildToolsVersion '27.0.3' defaultConfig { applicationId "com.zeapo.pwdstore" minSdkVersion 16 @@ -56,36 +55,33 @@ android { } dependencies { - compile 'com.android.support:appcompat-v7:27.1.0' - compile 'com.android.support:recyclerview-v7:27.1.0' - compile 'com.android.support:cardview-v7:27.1.0' - compile 'com.android.support:design:27.1.0' - compile 'com.android.support:support-annotations:27.1.0' - compile 'org.sufficientlysecure:openpgp-api:11.0' - compile 'com.nononsenseapps:filepicker:2.4.2' - compile('org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r') { + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation 'com.android.support:recyclerview-v7:27.1.1' + implementation 'com.android.support:cardview-v7:27.1.1' + implementation 'com.android.support:design:27.1.1' + implementation 'com.android.support:support-annotations:27.1.1' + implementation 'org.sufficientlysecure:openpgp-api:11.0' + implementation 'com.nononsenseapps:filepicker:2.4.2' + implementation('org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r') { exclude group: 'org.apache.httpcomponents', module: 'httpclient' } - compile 'com.jcraft:jsch:0.1.54' - compile group: 'commons-io', name: 'commons-io', version: '2.4' - compile group: 'commons-codec', name: 'commons-codec', version: '1.11' - compile 'com.jayway.android.robotium:robotium-solo:5.3.1' - compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" - compile 'com.android.support.constraint:constraint-layout:1.0.2' + implementation 'com.jcraft:jsch:0.1.54' + implementation 'commons-io:commons-io:2.5' + implementation 'commons-codec:commons-codec:1.11' + implementation 'com.jayway.android.robotium:robotium-solo:5.3.1' + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation 'com.android.support.constraint:constraint-layout:1.1.3' // Testing-only dependencies - androidTestCompile 'junit:junit:4.12' - androidTestCompile 'org.mockito:mockito-core:2.8.47' - androidTestCompile 'com.android.support.test:runner:1.0.1' - androidTestCompile 'com.android.support.test:rules:1.0.1' - androidTestCompile 'com.android.support.test.espresso:espresso-core:3.0.1' - androidTestCompile 'com.android.support.test.espresso:espresso-intents:3.0.1' + androidTestImplementation 'junit:junit:4.12' + androidTestImplementation 'org.mockito:mockito-core:2.18.0' + androidTestImplementation 'com.android.support.test:runner:1.0.2' + androidTestImplementation 'com.android.support.test:rules:1.0.2' + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.2' } repositories { mavenCentral() - - // temp. solution until we use use gradle 4.0 - maven { url 'https://maven.google.com' } } |