2026-04-29 16:31:04 +03:30
|
|
|
plugins {
|
|
|
|
|
alias(libs.plugins.android.application)
|
|
|
|
|
alias(libs.plugins.kotlin.compose)
|
|
|
|
|
alias(libs.plugins.ksp)
|
|
|
|
|
alias(libs.plugins.hilt)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
2026-05-06 23:33:56 +03:30
|
|
|
namespace = "com.example.tis_app"
|
2026-04-29 16:31:04 +03:30
|
|
|
compileSdk {
|
|
|
|
|
version = release(36) {
|
|
|
|
|
minorApiLevel = 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
2026-05-06 23:33:56 +03:30
|
|
|
applicationId = "com.example.tis_app"
|
2026-04-29 16:31:04 +03:30
|
|
|
minSdk = 24
|
|
|
|
|
targetSdk = 36
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
flavorDimensions.add("module")
|
|
|
|
|
productFlavors {
|
2026-05-06 23:33:56 +03:30
|
|
|
create("p3") {
|
2026-05-09 20:30:14 +03:30
|
|
|
versionCode = 1
|
|
|
|
|
versionName = "1.0"
|
2026-04-29 16:31:04 +03:30
|
|
|
dimension = "module"
|
2026-05-09 20:30:14 +03:30
|
|
|
applicationId = "com.example.tis_app_p3"
|
|
|
|
|
manifestPlaceholders["appName"] = "تیس"
|
2026-04-29 16:31:04 +03:30
|
|
|
}
|
|
|
|
|
create("ps4") {
|
2026-05-09 20:30:14 +03:30
|
|
|
versionCode = 1
|
|
|
|
|
versionName = "1.0"
|
2026-04-29 16:31:04 +03:30
|
|
|
dimension = "module"
|
2026-05-09 20:30:14 +03:30
|
|
|
applicationId = "com.example.tis_app_p4"
|
|
|
|
|
manifestPlaceholders["appName"] = "تیس" }
|
2026-04-29 16:31:04 +03:30
|
|
|
create("standard") {
|
2026-05-09 20:30:14 +03:30
|
|
|
versionCode = 1
|
|
|
|
|
versionName = "1.0"
|
2026-04-29 16:31:04 +03:30
|
|
|
dimension = "module"
|
2026-05-09 20:30:14 +03:30
|
|
|
applicationId = "com.example.tis_app"
|
|
|
|
|
manifestPlaceholders["appName"] = "تیس" }
|
2026-04-29 16:31:04 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
isMinifyEnabled = false
|
|
|
|
|
proguardFiles(
|
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
|
|
"proguard-rules.pro"
|
|
|
|
|
)
|
2026-05-12 19:27:09 +03:30
|
|
|
signingConfig = signingConfigs.getByName("debug")
|
2026-04-29 16:31:04 +03:30
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
|
}
|
|
|
|
|
buildFeatures {
|
|
|
|
|
compose = true
|
|
|
|
|
buildConfig = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation(project(":core"))
|
|
|
|
|
implementation(project(":design_system"))
|
2026-05-06 23:33:56 +03:30
|
|
|
"p3Implementation"(project(":p3"))
|
2026-04-29 16:31:04 +03:30
|
|
|
|
|
|
|
|
"ps4Implementation"(project(":ps4"))
|
|
|
|
|
|
|
|
|
|
implementation(libs.hilt.android)
|
|
|
|
|
ksp(libs.hilt.compiler)
|
|
|
|
|
|
|
|
|
|
implementation(platform(libs.androidx.compose.bom))
|
|
|
|
|
implementation(libs.androidx.activity.compose)
|
|
|
|
|
implementation(libs.androidx.compose.material3)
|
|
|
|
|
implementation(libs.androidx.compose.ui)
|
|
|
|
|
implementation(libs.androidx.compose.ui.graphics)
|
|
|
|
|
implementation(libs.androidx.compose.ui.tooling.preview)
|
|
|
|
|
implementation(libs.androidx.core.ktx)
|
2026-05-09 20:30:14 +03:30
|
|
|
implementation(libs.retrofit.converter.gson)
|
2026-04-29 16:31:04 +03:30
|
|
|
implementation(libs.androidx.lifecycle.runtime.ktx)
|
|
|
|
|
implementation("androidx.hilt:hilt-navigation-compose:1.2.0")
|
|
|
|
|
testImplementation(libs.junit)
|
|
|
|
|
androidTestImplementation(platform(libs.androidx.compose.bom))
|
|
|
|
|
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
|
|
|
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
|
|
|
|
androidTestImplementation(libs.androidx.junit)
|
|
|
|
|
debugImplementation(libs.androidx.compose.ui.test.manifest)
|
|
|
|
|
debugImplementation(libs.androidx.compose.ui.tooling)
|
|
|
|
|
}
|