2023-10-01 14:43:04 +02:00
|
|
|
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.archivesName
|
|
|
|
|
2023-01-19 22:15:01 +01:00
|
|
|
@Suppress("DSL_SCOPE_VIOLATION")
|
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.twofasAndroidApplication)
|
|
|
|
alias(libs.plugins.twofasCompose)
|
|
|
|
alias(libs.plugins.kotlinSerialization)
|
|
|
|
alias(libs.plugins.kotlinParcelize)
|
|
|
|
alias(libs.plugins.kotlinKapt)
|
2023-08-13 12:59:02 +02:00
|
|
|
alias(libs.plugins.ksp)
|
2023-01-19 22:15:01 +01:00
|
|
|
id("com.google.gms.google-services")
|
|
|
|
id("com.google.firebase.crashlytics")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "com.twofasapp"
|
2023-09-30 14:09:56 +02:00
|
|
|
|
2023-10-01 14:43:04 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId = "com.twofasapp"
|
2023-11-07 14:57:49 +01:00
|
|
|
versionName = "5.0.2"
|
|
|
|
versionCode = 5000005
|
2023-10-01 14:43:04 +02:00
|
|
|
|
|
|
|
val versionCodeOffset = 5000000
|
|
|
|
|
|
|
|
archivesName.set("TwoFas-$versionName-${versionCode!! - versionCodeOffset}")
|
|
|
|
}
|
|
|
|
|
2023-09-30 14:09:56 +02:00
|
|
|
ksp {
|
|
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
|
|
}
|
2023-01-19 22:15:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(project(":core:common"))
|
2023-06-04 23:07:20 +02:00
|
|
|
implementation(project(":core:android"))
|
2023-01-19 22:15:01 +01:00
|
|
|
implementation(project(":core:designsystem"))
|
|
|
|
implementation(project(":core:storage"))
|
2023-01-24 17:45:28 +01:00
|
|
|
implementation(project(":core:network"))
|
2023-03-26 21:54:38 +02:00
|
|
|
implementation(project(":core:locale"))
|
2023-09-30 14:09:56 +02:00
|
|
|
implementation(project(":core:cipher"))
|
|
|
|
|
2023-01-24 17:45:28 +01:00
|
|
|
implementation(project(":data:notifications"))
|
2023-01-19 22:15:01 +01:00
|
|
|
implementation(project(":data:session"))
|
2023-01-24 17:45:28 +01:00
|
|
|
implementation(project(":data:services"))
|
|
|
|
implementation(project(":data:browserext"))
|
2023-09-30 14:09:56 +02:00
|
|
|
implementation(project(":data:cloud"))
|
|
|
|
implementation(project(":data:push"))
|
|
|
|
|
2023-01-19 22:15:01 +01:00
|
|
|
implementation(project(":feature:startup"))
|
|
|
|
implementation(project(":feature:home"))
|
2023-01-24 17:45:28 +01:00
|
|
|
implementation(project(":feature:trash"))
|
|
|
|
implementation(project(":feature:about"))
|
|
|
|
implementation(project(":feature:externalimport"))
|
|
|
|
implementation(project(":feature:browserext"))
|
|
|
|
implementation(project(":feature:appsettings"))
|
2023-06-04 23:07:20 +02:00
|
|
|
implementation(project(":feature:qrscan"))
|
2023-09-30 14:09:56 +02:00
|
|
|
implementation(project(":feature:backup"))
|
|
|
|
implementation(project(":feature:widget"))
|
|
|
|
implementation(project(":feature:security"))
|
|
|
|
|
|
|
|
implementation(project(":base"))
|
|
|
|
implementation(project(":prefs"))
|
|
|
|
implementation(project(":truetime"))
|
|
|
|
implementation(project(":parsers"))
|
2023-01-19 22:15:01 +01:00
|
|
|
|
|
|
|
implementation(libs.bundles.appCompat)
|
|
|
|
implementation(libs.bundles.compose)
|
|
|
|
implementation(libs.bundles.barcodeScanner)
|
|
|
|
implementation(libs.bundles.room)
|
2023-09-30 14:09:56 +02:00
|
|
|
implementation(libs.reLinker)
|
|
|
|
ksp(libs.roomCompiler)
|
2023-01-19 22:15:01 +01:00
|
|
|
implementation(libs.bundles.compose)
|
|
|
|
implementation(libs.bundles.viewModel)
|
2023-01-24 17:45:28 +01:00
|
|
|
implementation(libs.bundles.accompanist)
|
2023-01-19 22:15:01 +01:00
|
|
|
implementation(libs.bundles.playReview)
|
|
|
|
implementation(libs.bundles.playUpdate)
|
2023-09-30 14:09:56 +02:00
|
|
|
implementation(libs.bundles.glance)
|
|
|
|
implementation(libs.biometric)
|
2023-01-19 22:15:01 +01:00
|
|
|
implementation(libs.timber)
|
|
|
|
implementation(libs.webkit)
|
|
|
|
implementation(libs.securityCrypto)
|
|
|
|
implementation(libs.secureStorage)
|
|
|
|
implementation(libs.lottie)
|
|
|
|
implementation(libs.kotlinCoroutines)
|
|
|
|
implementation(libs.workManager)
|
2023-06-04 23:07:20 +02:00
|
|
|
implementation(libs.activityX)
|
2023-01-19 22:15:01 +01:00
|
|
|
implementation(libs.coreSplash)
|
2023-09-30 14:09:56 +02:00
|
|
|
implementation(platform(libs.firebaseBom))
|
|
|
|
implementation(libs.firebaseCrashlytics)
|
|
|
|
implementation(libs.firebaseMessaging)
|
|
|
|
implementation(libs.playServicesCorutines)
|
|
|
|
implementation(libs.googleApiClientGson)
|
|
|
|
implementation(libs.googleApiClientAndroid) {
|
|
|
|
exclude("org.apache.httpcomponents", "guava-jdk5")
|
2023-03-26 17:56:23 +02:00
|
|
|
exclude("com.google.http-client", "google-http-client")
|
|
|
|
}
|
2023-09-30 14:09:56 +02:00
|
|
|
implementation(libs.googleAuth) {
|
|
|
|
exclude("com.google.http-client", "google-http-client")
|
|
|
|
exclude("com.google.http-client", "google-http-client-jackson")
|
2023-01-19 22:15:01 +01:00
|
|
|
}
|
2023-09-30 14:09:56 +02:00
|
|
|
implementation(libs.googleDrive) {
|
2023-01-19 22:15:01 +01:00
|
|
|
exclude("org.apache.httpcomponents", "guava-jdk5")
|
2023-09-30 14:09:56 +02:00
|
|
|
exclude("com.google.http-client", "google-http-client")
|
2023-01-19 22:15:01 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:09:56 +02:00
|
|
|
// ObjectBox - legacy
|
2023-01-19 22:15:01 +01:00
|
|
|
debugImplementation("io.objectbox:objectbox-android-objectbrowser:2.9.1")
|
|
|
|
releaseImplementation("io.objectbox:objectbox-android:2.9.1")
|
|
|
|
implementation("io.objectbox:objectbox-kotlin:2.9.1")
|
|
|
|
kapt("io.objectbox:objectbox-processor:2.9.1")
|
2023-10-01 14:43:04 +02:00
|
|
|
}
|