--- title: "Update build scripts" url: https://docs.catalyst.zoho.com/en/tutorials/zcdrive/update-build-scripts/ description: "Build an Android file storage app using Android Studio and the Catalyst Android SDK to store files securely in your Catalyst project's Stratus bucket." last_updated: 2026-11-04T10:10:44Z service: All Services type: tutorial related_links: - name: "Android SDK" url: /en/sdk/android/v2/overview --- # Update Gradle Build Scripts You must make some minor updates in the [Gradle build scripts](https://developer.android.com/studio/build) of the Android project. Gradle provides you with the flexibility to define your own custom build configurations, in place of the default build configurations that an Android project is created with. Gradle entirely handles the app's build process and enables you to run the app effectively. You must update two of the build configuration files in your Android project: `settings.gradle`, and the module-level `build.gradle`. ![](https://catalyst-docs-development.zohostratus.in/images/tutorials/zcdrive/catalyst_zcdrive_as_gradle_1.webp) `settings.gradle:` 1. Open `settings.gradle` from the Gradle scripts and locate the `dependencyResolutionManagement{}` interface. 2. Replace the default code with the following code: ```javascript dependencyResolutionManagement { repositories { google() mavenCentral() maven { url = uri("https://maven.zohodl.com/") } } } ``` This defines the repositories to be added to the project, and configures the dependency resolution for the build. Ensure that the following last two lines of the default code are still present, because Gradle will not be able to process the build without them: ```javascript rootProject.name="ZCDrive" include':app' ``` ![settings-gradle](https://catalyst-docs-development.zohostratus.in/images/tutorials/zcdrive/settings-gradle.webp) `build.gradle:` The module-level `build.gradle` file enables you to configure build settings specific to that particular module. For example, you can configure the minimum SDK and target SDK the app must be compatible with, the compile options, dependencies, or the JVM bytecode the Kotlin compiler must generate. 1. Open `build.gradle (Module: ZCDrive.app)` from the Gradle scripts and locate the `android{}` object. Set the following values for these parameters in it: `compileSdk 36` `targetSdk 36` `minSdk 26` ![build-gradle](https://catalyst-docs-development.zohostratus.in/images/tutorials/zcdrive/build-gradle.webp) 2. Replace the default `dependencies{}` module with the following code: ```javascript dependencies{ implementation("com.zoho.catalyst:android-sdk:3.0.1") 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) testImplementation(libs.junit) 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) implementation(libs.androidx.appcompat) implementation(libs.androidx.recyclerview) implementation(libs.material) } ``` After you have made these changes, Gradle will need to synchronize the project build. Click **Sync Now** if prompted. ![sync-now](https://catalyst-docs-development.zohostratus.in/images/tutorials/zcdrive/sync-now.webp) The custom build configurations are updated. We can now build the Android project and test the app in Android Studio.