aboutsummaryrefslogtreecommitdiff
path: root/dependencies.gradle
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-11-26 23:48:18 +0530
committerAditya Wasan <adityawasan55@gmail.com>2019-11-26 23:48:18 +0530
commitdf0c886152f9792c1856c96984e6d775656c42dc (patch)
tree40b555687eb2ad6cb9f2a53dbe69664f7f0fa4fa /dependencies.gradle
parentbf9892c0471e4d4c1e7bde4325a514d1a47ca1b4 (diff)
Rewrite Gradle configuration to simplify further (#581)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'dependencies.gradle')
-rw-r--r--dependencies.gradle59
1 files changed, 59 insertions, 0 deletions
diff --git a/dependencies.gradle b/dependencies.gradle
new file mode 100644
index 00000000..43f94708
--- /dev/null
+++ b/dependencies.gradle
@@ -0,0 +1,59 @@
+/*
+ * Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+ext.versions = [
+ minSdk: 21,
+ targetSdk: 29,
+ compileSdk: 29,
+ versionCode: 10303,
+ versionName: '1.3.3',
+ buildTools: '29.0.2'
+]
+
+ext.deps = [
+ gradle_plugin: [
+ android: 'com.android.tools.build:gradle:3.5.2',
+ kotlin: 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.60',
+ spotless: 'com.diffplug.spotless:spotless-plugin-gradle:3.26.0'
+ ],
+
+ kotlin: [
+ stdlib8: 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
+ ],
+
+ androidx: [
+ annotation: 'androidx.annotation:annotation:1.1.0',
+ appcompat: 'androidx.appcompat:appcompat:1.1.0',
+ biometric: 'androidx.biometric:biometric:1.0.0',
+ cardview: 'androidx.cardview:cardview:1.0.0',
+ constraint_layout: 'androidx.constraintlayout:constraintlayout:2.0.0-beta3',
+ core_ktx: 'androidx.core:core-ktx:1.2.0-beta02',
+ documentfile: 'androidx.documentfile:documentfile:1.0.1',
+ material: 'com.google.android.material:material:1.2.0-alpha01',
+ preference: 'androidx.preference:preference:1.1.0',
+ recycler_view: 'androidx.recyclerview:recyclerview:1.0.0'
+ ],
+
+ third_party: [
+ commons_io: 'commons-io:commons-io:2.5',
+ commons_codec: 'commons-codec:commons-codec:1.13',
+ jsch: 'com.jcraft:jsch:0.1.55',
+ jgit: 'org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r',
+ openpgp_ktx: 'com.github.android-password-store:openpgp-ktx:0.1.0',
+ ssh_auth: 'org.sufficientlysecure:sshauthentication-api:1.0'
+ ],
+
+ testing: [
+ junit: 'junit:junit:4.13-rc-1',
+ koin_test: 'org.koin:koin-test:2.0.1',
+ mockito_core: 'org.mockito:mockito-core:3.1.0',
+ androidx: [
+ runner: 'androidx.test:runner:1.3.0-alpha02',
+ rules: 'androidx.test:rules:1.3.0-alpha02',
+ junit: 'androidx.test.ext:junit:1.1.2-alpha02',
+ espresso_core: 'androidx.test.espresso:espresso-core:3.3.0-alpha02',
+ espresso_intents: 'androidx.test.espresso:espresso-intents:3.3.0-alpha02'
+ ]
+ ]
+]