Last active
July 21, 2025 18:31
-
-
Save RaghavThakkar/0346db600513cdd836cb76225d1b9860 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Top-level build file where you can add configuration options common to all sub-projects/modules. | |
| plugins { | |
| alias(libs.plugins.android.application) apply false | |
| alias(libs.plugins.kotlin.android) apply false | |
| alias(libs.plugins.kotlin.compose) apply false | |
| id("com.google.dagger.hilt.android") version "2.56.2" apply false | |
| id("com.google.devtools.ksp") version "2.0.21-1.0.27" apply false | |
| alias(libs.plugins.kotlin.serialization) apply false | |
| } | |
| // | |
| plugins { | |
| alias(libs.plugins.android.application) | |
| alias(libs.plugins.kotlin.android) | |
| alias(libs.plugins.kotlin.compose) | |
| id("com.google.devtools.ksp") | |
| id("com.google.dagger.hilt.android") | |
| alias(libs.plugins.kotlin.serialization) | |
| } | |
| android { | |
| namespace = "com.appstudio.rto.gujarat.myapplication" | |
| compileSdk = 35 | |
| defaultConfig { | |
| applicationId = "com.appstudio.rto.gujarat.myapplication" | |
| minSdk = 28 | |
| targetSdk = 34 | |
| versionCode = 1 | |
| versionName = "1.0" | |
| testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | |
| } | |
| buildTypes { | |
| release { | |
| isMinifyEnabled = false | |
| proguardFiles( | |
| getDefaultProguardFile("proguard-android-optimize.txt"), | |
| "proguard-rules.pro" | |
| ) | |
| } | |
| } | |
| compileOptions { | |
| sourceCompatibility = JavaVersion.VERSION_11 | |
| targetCompatibility = JavaVersion.VERSION_11 | |
| } | |
| kotlinOptions { | |
| jvmTarget = "11" | |
| } | |
| buildFeatures { | |
| compose = true | |
| } | |
| testOptions { | |
| unitTests { | |
| isIncludeAndroidResources = true | |
| } | |
| } | |
| } | |
| dependencies { | |
| implementation(libs.androidx.core.ktx) | |
| implementation(libs.androidx.lifecycle.runtime.ktx) | |
| implementation(libs.androidx.activity.compose) | |
| implementation(platform(libs.androidx.compose.bom)) | |
| implementation(libs.androidx.ui) | |
| implementation(libs.androidx.ui.graphics) | |
| implementation(libs.androidx.ui.tooling.preview) | |
| implementation(libs.androidx.material3) | |
| implementation("com.google.dagger:hilt-android:2.56.2") | |
| implementation(libs.androidx.ui.test.junit4.android) | |
| testImplementation(libs.junit.junit) | |
| ksp("com.google.dagger:hilt-android-compiler:2.56.2") | |
| implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.1") | |
| implementation("androidx.lifecycle:lifecycle-runtime-compose:2.7.0") | |
| implementation("androidx.navigation:navigation-compose:2.9.0") | |
| implementation("androidx.hilt:hilt-navigation-compose:1.2.0") | |
| implementation("com.squareup.retrofit2:retrofit:3.0.0") | |
| implementation("com.squareup.retrofit2:converter-gson:2.9.0") | |
| implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2") | |
| implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9") | |
| testImplementation( "org.robolectric:robolectric:4.11.1") | |
| androidTestImplementation(libs.androidx.junit) | |
| androidTestImplementation(libs.androidx.espresso.core) | |
| androidTestImplementation(platform(libs.androidx.compose.bom)) | |
| androidTestImplementation(libs.androidx.ui.test.junit4) | |
| debugImplementation(libs.androidx.ui.tooling) | |
| debugImplementation(libs.androidx.ui.test.manifest) | |
| } | |
| [versions] | |
| agp = "8.10.1" | |
| kotlin = "2.0.21" | |
| coreKtx = "1.16.0" | |
| junit = "4.13.2" | |
| junitVersion = "1.2.1" | |
| espressoCore = "3.6.1" | |
| lifecycleRuntimeKtx = "2.9.1" | |
| activityCompose = "1.10.1" | |
| composeBom = "2024.09.00" | |
| junitJunit = "4.12" | |
| uiTestJunit4Android = "1.8.2" | |
| [libraries] | |
| androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } | |
| junit = { group = "junit", name = "junit", version.ref = "junit" } | |
| androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } | |
| androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } | |
| androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" } | |
| androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" } | |
| androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" } | |
| androidx-ui = { group = "androidx.compose.ui", name = "ui" } | |
| androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" } | |
| androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" } | |
| androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" } | |
| androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" } | |
| androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" } | |
| androidx-material3 = { group = "androidx.compose.material3", name = "material3" } | |
| junit-junit = { group = "junit", name = "junit", version.ref = "junitJunit" } | |
| androidx-ui-test-junit4-android = { group = "androidx.compose.ui", name = "ui-test-junit4-android", version.ref = "uiTestJunit4Android" } | |
| [plugins] | |
| android-application = { id = "com.android.application", version.ref = "agp" } | |
| kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } | |
| kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } | |
| kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment