2020-07-23 09:09:36 +00:00
|
|
|
/*
|
|
|
|
* Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved.
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2020-08-15 20:45:31 +00:00
|
|
|
private const val KOTLIN_VERSION = "1.4.0"
|
|
|
|
|
2020-07-23 09:09:36 +00:00
|
|
|
object Plugins {
|
|
|
|
|
|
|
|
const val agp = "com.android.tools.build:gradle:4.0.1"
|
2020-08-15 20:45:31 +00:00
|
|
|
const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
|
2020-07-23 09:09:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
object Dependencies {
|
|
|
|
object Kotlin {
|
|
|
|
object Coroutines {
|
|
|
|
|
2020-08-15 20:45:31 +00:00
|
|
|
private const val version = "1.3.9"
|
|
|
|
const val android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version"
|
|
|
|
const val core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version"
|
2020-07-23 09:09:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
object AndroidX {
|
|
|
|
|
2020-08-21 16:18:53 +00:00
|
|
|
private const val lifecycleVersion = "2.3.0-alpha07"
|
|
|
|
|
|
|
|
const val activity_ktx = "androidx.activity:activity-ktx:1.2.0-alpha08"
|
2020-07-23 09:09:36 +00:00
|
|
|
const val annotation = "androidx.annotation:annotation:1.2.0-alpha01"
|
2020-08-21 16:18:53 +00:00
|
|
|
const val autofill = "androidx.autofill:autofill:1.1.0-alpha02"
|
|
|
|
const val appcompat = "androidx.appcompat:appcompat:1.3.0-alpha02"
|
|
|
|
const val biometric = "androidx.biometric:biometric:1.1.0-alpha02"
|
2020-08-11 08:33:30 +00:00
|
|
|
const val constraint_layout = "androidx.constraintlayout:constraintlayout:2.0.0-rc1"
|
2020-08-21 16:18:53 +00:00
|
|
|
const val core_ktx = "androidx.core:core-ktx:1.5.0-alpha02"
|
2020-07-23 09:09:36 +00:00
|
|
|
const val documentfile = "androidx.documentfile:documentfile:1.0.1"
|
2020-08-21 16:18:53 +00:00
|
|
|
const val fragment_ktx = "androidx.fragment:fragment-ktx:1.3.0-alpha08"
|
|
|
|
const val lifecycle_common = "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
|
|
|
|
const val lifecycle_livedata_ktx = "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
|
|
|
|
const val lifecycle_viewmodel_ktx = "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion"
|
2020-08-11 08:33:30 +00:00
|
|
|
const val material = "com.google.android.material:material:1.3.0-alpha02"
|
2020-07-23 09:09:36 +00:00
|
|
|
const val preference = "androidx.preference:preference:1.1.1"
|
|
|
|
const val recycler_view = "androidx.recyclerview:recyclerview:1.2.0-alpha05"
|
|
|
|
const val recycler_view_selection = "androidx.recyclerview:recyclerview-selection:1.1.0-rc01"
|
2020-08-11 08:33:30 +00:00
|
|
|
const val security = "androidx.security:security-crypto:1.1.0-alpha02"
|
2020-07-23 09:09:36 +00:00
|
|
|
const val swiperefreshlayout = "androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01"
|
|
|
|
}
|
|
|
|
|
|
|
|
object FirstParty {
|
|
|
|
|
2020-08-17 07:58:43 +00:00
|
|
|
const val openpgp_ktx = "com.github.android-password-store:openpgp-ktx:2.1.0"
|
2020-07-23 09:09:36 +00:00
|
|
|
const val zxing_android_embedded = "com.github.android-password-store:zxing-android-embedded:4.1.0-aps"
|
|
|
|
}
|
|
|
|
|
|
|
|
object ThirdParty {
|
|
|
|
|
|
|
|
const val bouncycastle = "org.bouncycastle:bcprov-jdk15on:1.66"
|
|
|
|
const val commons_codec = "commons-codec:commons-codec:1.14"
|
2020-09-01 08:12:27 +00:00
|
|
|
const val eddsa = "net.i2p.crypto:eddsa:0.3.0"
|
2020-07-23 09:09:36 +00:00
|
|
|
const val fastscroll = "me.zhanghai.android.fastscroll:library:1.1.4"
|
|
|
|
const val jgit = "org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r"
|
|
|
|
const val leakcanary = "com.squareup.leakcanary:leakcanary-android:2.4"
|
|
|
|
const val plumber = "com.squareup.leakcanary:plumber-android:2.4"
|
2020-08-17 19:58:04 +00:00
|
|
|
const val sshj = "com.hierynomus:sshj:0.30.0"
|
2020-07-23 09:09:36 +00:00
|
|
|
const val ssh_auth = "org.sufficientlysecure:sshauthentication-api:1.0"
|
|
|
|
const val timber = "com.jakewharton.timber:timber:4.7.1"
|
|
|
|
const val timberkt = "com.github.ajalt:timberkt:1.5.1"
|
2020-08-21 16:18:53 +00:00
|
|
|
const val whatthestack = "com.github.haroldadmin:WhatTheStack:0.0.5"
|
2020-07-23 09:09:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
object NonFree {
|
|
|
|
|
|
|
|
const val google_play_auth_api_phone = "com.google.android.gms:play-services-auth-api-phone:17.4.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
object Testing {
|
|
|
|
|
|
|
|
const val junit = "junit:junit:4.13"
|
2020-08-15 20:45:31 +00:00
|
|
|
const val kotlin_test_junit = "org.jetbrains.kotlin:kotlin-test-junit:$KOTLIN_VERSION"
|
2020-07-23 09:09:36 +00:00
|
|
|
|
|
|
|
object AndroidX {
|
|
|
|
|
2020-08-11 08:33:30 +00:00
|
|
|
const val runner = "androidx.test:runner:1.3.0-rc03"
|
|
|
|
const val rules = "androidx.test:rules:1.3.0-rc03"
|
|
|
|
const val junit = "androidx.test.ext:junit:1.1.2-rc03"
|
|
|
|
const val espresso_core = "androidx.test.espresso:espresso-core:3.3.0-rc03"
|
|
|
|
const val espresso_intents = "androidx.test.espresso:espresso-intents:3.3.0-rc03"
|
2020-07-23 09:09:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|