2fas-android/app/build.gradle.kts

112 lines
3.9 KiB
Plaintext
Raw Normal View History

2023-10-01 14:43:04 +02:00
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.archivesName
@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)
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")
}
}
dependencies {
implementation(project(":core:common"))
2023-06-04 23:07:20 +02:00
implementation(project(":core:android"))
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"))
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"))
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"))
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)
implementation(libs.bundles.compose)
implementation(libs.bundles.viewModel)
2023-01-24 17:45:28 +01:00
implementation(libs.bundles.accompanist)
implementation(libs.bundles.playReview)
implementation(libs.bundles.playUpdate)
2023-09-30 14:09:56 +02:00
implementation(libs.bundles.glance)
implementation(libs.biometric)
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)
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-09-30 14:09:56 +02:00
implementation(libs.googleDrive) {
exclude("org.apache.httpcomponents", "guava-jdk5")
2023-09-30 14:09:56 +02:00
exclude("com.google.http-client", "google-http-client")
}
2023-09-30 14:09:56 +02:00
// ObjectBox - legacy
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
}