ZUP Android Técnico
Copyright (C) <2014> <Instituto TIM>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
- debug
- release
assemble
clean
install
publishApk
./gradlew clean assemble<Flavor><BuildType>
(Ex:./gradlew clean assembleUnicefRelease
): Limpa o projeto e gera apk com o flavor e o build type na pasta /build/outputs/apk/. Se o somente o flavor for fornecido, ele gera todos os apks daquele flavor. Se nem o flavor for fornecido, ele gera todas as apks possíveis../gradlew assemble<Flavor><BuildType> crashlyticsUploadDistribution<Flavor><BuildType>
(Ex:./gradlew assembleUnicefRelease crashlyticsUploadDistributionUnicefRelease
): Gera o apk e envia a apk ao Crashlytics de acordo com o Flavor dado (cada flavor tem um pacote identificador que será relacionado ao projeto do Fabric.io) e convida os usuários definidos em FABRIC_EMAILS para usar o app../gradlew publishApk<Flavor><BuildType>
(Ex:./gradlew publishApkUnicefRelease
): Publica o apk na Play Store
- Arquivo
gradle.properties