mirror of
https://github.com/openMF/mobile-wallet.git
synced 2026-02-06 11:36:57 +00:00
This commit migrates the Android and iOS Firebase app distribution process to use Fastlane. - Removed the custom Gradle task for Firebase app distribution. - Removed the firebase appdistribution plugin from the project. - Implemented `android deploy_on_firebase` Fastlane lane for Android Firebase app distribution. - Implemented `ios deploy_on_firebase` Fastlane lane for iOS Firebase app distribution. - Updated the internal release workflow to trigger the Fastlane lanes. - Updated documentation to reflect the changes. - Updated the weekly schedule workflow to trigger the new workflow for internal release.
49 lines
1.8 KiB
Plaintext
49 lines
1.8 KiB
Plaintext
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
dependencies {
|
|
classpath(libs.google.oss.licenses.plugin) {
|
|
exclude(group = "com.google.protobuf")
|
|
}
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
alias(libs.plugins.android.application) apply false
|
|
alias(libs.plugins.android.library) apply false
|
|
alias(libs.plugins.android.test) apply false
|
|
alias(libs.plugins.kotlin.jvm) apply false
|
|
alias(libs.plugins.kotlin.serialization) apply false
|
|
alias(libs.plugins.kotlin.parcelize) apply false
|
|
alias(libs.plugins.dependencyGuard) apply false
|
|
alias(libs.plugins.firebase.crashlytics) apply false
|
|
alias(libs.plugins.firebase.perf) apply false
|
|
alias(libs.plugins.gms) apply false
|
|
alias(libs.plugins.ksp) apply false
|
|
alias(libs.plugins.roborazzi) apply false
|
|
alias(libs.plugins.secrets) apply false
|
|
alias(libs.plugins.kotlin.android) apply false
|
|
alias(libs.plugins.module.graph) apply true
|
|
alias(libs.plugins.detekt) apply false
|
|
alias(libs.plugins.spotless) apply false
|
|
alias(libs.plugins.ktlint) apply false
|
|
alias(libs.plugins.version.catalog.linter) apply true
|
|
// Multiplatform plugins
|
|
alias(libs.plugins.jetbrainsCompose) apply false
|
|
alias(libs.plugins.compose.compiler) apply false
|
|
alias(libs.plugins.kotlinMultiplatform) apply false
|
|
alias(libs.plugins.wire) apply false
|
|
alias(libs.plugins.ktrofit) apply false
|
|
}
|
|
|
|
object DynamicVersion {
|
|
fun setDynamicVersion(file: File, version: String) {
|
|
val cleanedVersion = version.split('+')[0]
|
|
file.writeText(cleanedVersion)
|
|
}
|
|
}
|
|
|
|
tasks.register("versionFile") {
|
|
val file = File(projectDir, "version.txt")
|
|
|
|
DynamicVersion.setDynamicVersion(file, project.version.toString())
|
|
} |