Skip to content

Instantly share code, notes, and snippets.

@Pratham-Sortly
Last active August 7, 2025 11:56
Show Gist options
  • Select an option

  • Save Pratham-Sortly/2a79ab642f9656a5e729553e16866312 to your computer and use it in GitHub Desktop.

Select an option

Save Pratham-Sortly/2a79ab642f9656a5e729553e16866312 to your computer and use it in GitHub Desktop.
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.compose)
}
android {
namespace = "com.pratham.feature_one"
compileSdk = 36
defaultConfig {
minSdk = 29
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}
buildTypes {
getByName("debug") {
isShrinkResources = false
isMinifyEnabled = false
buildConfigField("boolean", "ENABLE_ANALYTICS", "false")
}
create("qa") {
initWith(buildTypes.getByName("debug"))
isShrinkResources = false
isMinifyEnabled = false
buildConfigField("boolean", "ENABLE_ANALYTICS", "true")
}
getByName("release") {
isMinifyEnabled = false
buildConfigField("boolean", "ENABLE_ANALYTICS", "true")
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
buildFeatures {
buildConfig = true
}
}
dependencies {
implementation(project(":core-network"))
implementation(project(":core-ui"))
implementation(project(":design-system"))
implementation(project(":local-storage"))
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment