forked from melod1n/fast-messenger
30e132d418
* Bump haze from 1.1.1 to 1.2.0 (#105) * Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.7.3 to 1.8.0 (#104) * update gradle wrapper * Bump agp from 8.7.3 to 8.8.0 (#106) * Bump com.jraska.module.graph.assertion from 2.7.1 to 2.7.3 (#109) * Bump haze from 1.2.0 to 1.2.2 (#111) * Bump koin from 4.0.1 to 4.0.2 (#112) * little improvement * Bump kotlin from 2.1.0 to 2.1.10 (#113) * Bump androidx.compose:compose-bom from 2024.12.01 to 2025.02.00 (#115) * Bump androidx.navigation:navigation-compose from 2.8.5 to 2.8.7 (#119) * Bump haze from 1.2.2 to 1.3.1 (#118) * Bump ksp from 2.1.0-1.0.29 to 2.1.10-1.0.30 (#116) * Bump agp from 8.8.0 to 8.8.1 (#117) * Bump com.google.accompanist:accompanist-permissions (#121) * Rename the app's namespace and applicationId to `dev.meloda.fastvk`, and update the package name in `ACTION_MANAGE_UNKNOWN_APP_SOURCES` intent. Remove unnecessary `onLowMemory` method in the `OnlineService`. * Bump com.jraska.module.graph.assertion from 2.7.3 to 2.8.0 (#126) * Bump ksp from 2.1.10-1.0.30 to 2.1.10-1.0.31 (#125) * Bump haze from 1.3.1 to 1.4.0 (#124) * Bump agp from 8.8.1 to 8.8.2 (#123) * Bump androidx.navigation:navigation-compose from 2.8.7 to 2.8.8 (#122) * Bump haze from 1.4.0 to 1.5.0 (#128) * Bump agp from 8.8.2 to 8.9.0 (#127) * Bump androidx.navigation:navigation-compose from 2.8.8 to 2.8.9 (#130) * Bump androidx.compose:compose-bom from 2025.02.00 to 2025.03.00 (#129) * revert agp version to 8.8.2 * fix issues with package names * Bump haze from 1.5.0 to 1.5.1 (#133) * Bump com.google.guava:guava from 33.4.0-jre to 33.4.5-jre (#132) * russian translations * fixes and improvements --------- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
134 lines
3.9 KiB
Kotlin
134 lines
3.9 KiB
Kotlin
import java.util.Properties
|
|
|
|
plugins {
|
|
alias(libs.plugins.fast.android.application)
|
|
alias(libs.plugins.fast.android.application.compose)
|
|
alias(libs.plugins.kotlin.serialization)
|
|
}
|
|
|
|
android {
|
|
namespace = "dev.meloda.fastvk"
|
|
|
|
defaultConfig {
|
|
applicationId = "dev.meloda.fastvk"
|
|
|
|
versionCode = libs.versions.versionCode.get().toInt()
|
|
versionName = libs.versions.versionName.get()
|
|
}
|
|
|
|
signingConfigs {
|
|
create("release") {
|
|
val keystoreProperties = Properties()
|
|
val keystorePropertiesFile = file("keystore/keystore.properties")
|
|
|
|
storeFile = file("keystore/keystore.jks")
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
keystorePropertiesFile.inputStream().let(keystoreProperties::load)
|
|
storePassword = keystoreProperties.getProperty("storePassword")
|
|
keyAlias = keystoreProperties.getProperty("keyAlias")
|
|
keyPassword = keystoreProperties.getProperty("keyPassword")
|
|
} else {
|
|
storePassword = System.getenv("KEYSTORE_PASSWORD")
|
|
keyAlias = System.getenv("RELEASE_SIGN_KEY_ALIAS")
|
|
keyPassword = System.getenv("RELEASE_SIGN_KEY_PASSWORD")
|
|
}
|
|
}
|
|
|
|
create("debugSigning") {
|
|
initWith(getByName("release"))
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
named("debug") {
|
|
signingConfig = signingConfigs.getByName("debugSigning")
|
|
applicationIdSuffix = ".debug"
|
|
}
|
|
named("release") {
|
|
signingConfig = signingConfigs.getByName("release")
|
|
|
|
isMinifyEnabled = true
|
|
isShrinkResources = true
|
|
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
|
|
packaging {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(projects.feature.auth)
|
|
|
|
implementation(projects.feature.chatmaterials)
|
|
implementation(projects.feature.conversations)
|
|
implementation(projects.feature.languagepicker)
|
|
implementation(projects.feature.messageshistory)
|
|
implementation(projects.feature.photoviewer)
|
|
implementation(projects.feature.settings)
|
|
implementation(projects.feature.friends)
|
|
implementation(projects.feature.profile)
|
|
implementation(projects.feature.photoviewer)
|
|
|
|
implementation(projects.core.common)
|
|
implementation(projects.core.ui)
|
|
implementation(projects.core.data)
|
|
implementation(projects.core.domain)
|
|
implementation(projects.core.model)
|
|
implementation(projects.core.datastore)
|
|
|
|
// Tests zone
|
|
testImplementation(libs.junit)
|
|
// end of Tests zone
|
|
|
|
// Compose-Bom zone
|
|
implementation(platform(libs.compose.bom))
|
|
implementation(libs.bundles.compose)
|
|
// end of Compose-Bom zone
|
|
|
|
implementation(libs.accompanist.permissions)
|
|
|
|
// Coil for Compose
|
|
implementation(libs.coil.compose)
|
|
|
|
// androidTestImplementation(libs.compose.ui.test.junit4)
|
|
debugImplementation(libs.compose.ui.test.manifest)
|
|
debugImplementation(libs.compose.ui.tooling)
|
|
|
|
implementation(libs.koin.android)
|
|
implementation(libs.koin.androidx.compose)
|
|
implementation(libs.koin.androidx.compose.navigation)
|
|
|
|
implementation(libs.coil)
|
|
|
|
implementation(libs.core.ktx)
|
|
|
|
implementation(libs.lifecycle.viewmodel.ktx)
|
|
implementation(libs.lifecycle.runtime.ktx)
|
|
|
|
implementation(libs.preference.ktx)
|
|
implementation(libs.material)
|
|
|
|
implementation(libs.haze)
|
|
implementation(libs.haze.materials)
|
|
|
|
implementation(libs.kotlinx.coroutines.core)
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
|
|
implementation(libs.nanokt)
|
|
implementation(libs.nanokt.android)
|
|
implementation(libs.nanokt.jvm)
|
|
|
|
implementation(libs.androidx.navigation.compose)
|
|
implementation(libs.kotlin.serialization)
|
|
|
|
}
|