42c14fae59
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.3 KiB
1.3 KiB
name, kind, lang, domain, version, purity, signature, description, tags, params, output, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | params | output | uses_functions | uses_types | returns | returns_optional | error_type | imports | tested | tests | test_file_path | file_path | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gradle_assemble_debug | function | bash | infra | 1.0.0 | impure | gradle_assemble_debug(project_dir: string, module: string) -> string | Build APK debug de un modulo Android via gradlew assembleDebug. |
|
|
Stdout con build log + ultima linea 'APK: <path>'. Exit 0 = build OK. Exit !=0 si fallo. |
|
false | error_go_core | false | bash/functions/infra/gradle_assemble_debug.sh |
Ejemplo
gradle_assemble_debug /path/to/MyApp
# APK: /path/to/MyApp/app/build/outputs/apk/debug/app-debug.apk
gradle_assemble_debug /path/to/MyApp mylibrary
# APK: /path/to/MyApp/mylibrary/build/outputs/apk/debug/mylibrary-debug.apk
Notas
APK queda en //build/outputs/apk/debug/. Variants flavor no soportados aun (anadir arg si surge).