mirror of https://github.com/CrimsonTome/tldr.git
gradle: edit assembleRelease example to show Android Studio specificity (#6194)
'assembleDebug' and 'assembleRelease' tasks are specific to Android Studio: https://developer.android.com/studio/build/building-cmdline#ReleaseMode https://stackoverflow.com/questions/44185165/what-are-the-differences-between-gradle-assemble-and-gradle-build-tasks They are not common tasks like 'build', 'assemble' and 'check': https://docs.gradle.org/current/userguide/command_line_interface.html#sec:command_line_executing_tasksbeep
parent
2682aa5d8c
commit
1c050a6e38
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
`gradle build -x {{test}}`
|
`gradle build -x {{test}}`
|
||||||
|
|
||||||
- Ejecuta en modo offline para prevenir que gradle acceda a la red durante una compilación:
|
- Ejecuta en modo offline para prevenir que Gradle acceda a la red durante una compilación:
|
||||||
|
|
||||||
`gradle build --offline`
|
`gradle build --offline`
|
||||||
|
|
||||||
|
@ -19,6 +19,6 @@
|
||||||
|
|
||||||
`gradle clean`
|
`gradle clean`
|
||||||
|
|
||||||
- Compila y genera un paquete:
|
- Compila un paquete Android (APK) en modo lanzamiento:
|
||||||
|
|
||||||
`gradle assembleRelease`
|
`gradle assembleRelease`
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
`gradle build -x {{test}}`
|
`gradle build -x {{test}}`
|
||||||
|
|
||||||
- Run in offline mode to prevent gradle from accessing the network during builds:
|
- Run in offline mode to prevent Gradle from accessing the network during builds:
|
||||||
|
|
||||||
`gradle build --offline`
|
`gradle build --offline`
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
`gradle clean`
|
`gradle clean`
|
||||||
|
|
||||||
- Compile and Release package:
|
- Build an Android Package (APK) in release mode:
|
||||||
|
|
||||||
`gradle assembleRelease`
|
`gradle assembleRelease`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue