Aplicativo ZUP Técnico da plataforma Zeladoria Urbana Participativa
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
captures
config
features
gradle/wrapper
src
.calabash_settings
.gitignore
.gitlab-ci.yml
CHANGELOG.md
Dockerfile
LICENSE
README.md
build.gradle
fabric.properties
gradlew
gradlew.bat
proguard-rules.txt
version.properties

README.md

Zup Técnico

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/>.

Lista de Build Types

  • debug
  • release

Principais comandos gradlew (Está na pasta do projeto o arquivo gradlew ou gradlew.bat)

  • assemble
  • clean
  • install
  • publishApk

Comandos para o uso no projeto

  • ./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

Dados de autenticação/configuração Crashlytics e keystore

  • Arquivo gradle.properties