Fixed merge conflict

This commit is contained in:
Akash Yadav
2022-10-24 17:18:40 +05:30
parent 9ec401c4b3
commit 176ef2a868
2 changed files with 107 additions and 26 deletions
+22 -25
View File
@@ -1,32 +1,29 @@
# Build Actions
Gradle Build Actions.
The IDE provides access to various tasks which you can execute to build your project.
Below is the list of tasks that are accessible from the IDE with their brief description
and the actual Gradle tasks that the IDE executes.
## Build Tasks
Tasks to build your project.
To set `gradle options`, go to `Preferences > Build & Run > Additional Gradle commands`.
### Build
Runs `./gradlew build [options..]`<br/>
The `build` task is to designate assembling all outputs and running all checks.
### assembleDebug
To initiate a debug build, invoke the `assembleDebug` task:<br/>
Runs `./gradlew assembleDebug [options..]`
### assembleRelease
To initiate a release build, invoke the `assembleRelease` task:<br/>
Runs `./gradlew assembleRelease [options..]`
### Create AAB
Runs `./gradlew bundle [options..]`<br/>
Generates an app bundle (.aab file).
### Clean
Runs `./gradlew clean [options..]`<br/>
You can delete the contents of the build directory using the `clean` task.
### Clean & Build
Runs `./gradlew clean build [options..]`<br/>
At first runs `clean` task then `build` task.
| Task | Description |
| ---------------- | ------------------------------------------------------------------------------------------------------------------ |
| Build | Runs `./gradlew build [options..]` The `build` task is to designate assembling all outputs and running all checks. |
| Assemble Debug | To initiate a debug build, invoke the `assembleDebug` task. Runs `./gradlew assembleDebug [options..]` |
| Assemble Release | To initiate a release build, invoke the `assembleRelease` task. Runs `./gradlew assembleRelease [options..]` |
| Create AAB | Runs `./gradlew bundle [options..]`, Generates an app bundle (.aab file). |
| Clean | Runs `./gradlew clean [options..]`. You can delete the contents of the build directory using the `clean` task. |
| Clean & Build | Runs `./gradlew clean build [options..]`. At first runs `clean` task then `build` task. |
## Lint Tasks
The lint tool checks for structural code problems that could affect the quality and performance of your Android application.
### Lint
Runs Lint for all build variants. [`./gradlew lint`]
### lintRelease
Runs Lint for release variant. [`./gradlew lintRelease`]
### lintDebug
Runs Lint for debug variant. [`./gradlew lintDebug`]
| Task | Description |
| -------------- | -------------------------------------------------------- |
| `Lint` | Runs Lint for all build variants. [`./gradlew lint`] |
| `Lint release` | Runs Lint for release variant. [`./gradlew lintRelease`] |
| `Lint Debug` | Runs Lint for debug variant. [`./gradlew lintDebug`] |