Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pimp my android project

Daniel
October 05, 2016

Pimp my android project

Talk to show some tools, ideas, settings and things that may or not improve the "android development process"

https://gitlab.com/danielgomezrico/talk-pimp-my-android-project

Daniel

October 05, 2016
Tweet

More Decks by Daniel

Other Decks in Programming

Transcript

  1. Pimp my android project Daniel Gomez Rico Android Lead Developer

    at Barista Ventures +danielgomezrico @dgomezri
  2. Pimp my android project Daniel Gomez Rico Android Lead Developer

    at Barista Ventures +danielgomezrico @dgomezri
  3. Main branch add login Pull Request Test/CodeReview Pull Request is

    not git but github/bitbucket/gitlab Merge Flow
  4. Main branch add login Pull Request Test/CodeReview Pull Request is

    not git but github/bitbucket/gitlab Merge Flow
  5. Main branch add login Pull Request Test/CodeReview Pull Request is

    not git but github/bitbucket/gitlab Merge Flow
  6. Main branch add login Pull Request Test/CodeReview Pull Request is

    not git but github/bitbucket/gitlab Merge Flow
  7. Main branch add login Pull Request Test/CodeReview Pull Request is

    not git but github/bitbucket/gitlab Merge Flow
  8. Main branch add login Pull Request Test/CodeReview Pull Request is

    not git but github/bitbucket/gitlab Merge Flow
  9. Sample • Code App User • Code MyApi • Code

    App Driver • Code 2 MyApi MyApi
  10. Sample • Code App User • Code MyApi • Code

    App Driver • Code 2 MyApi MyApi
  11. Sample • Code App User • Code MyApi • Code

    App Driver • Code 2 MyApi MyApi
  12. Sample • Code App User • Code MyApi • Code

    App Driver • Code 2 MyApi MyApi
  13. Document Which tasks should I run? How to run tests?

    How to send to production? BuildType and flavors for each environment?
  14. Document Which tasks should I run? How to run tests?

    How to send to production? BuildType and flavors for each environment?
  15. Nota: fabric plugin add tasks to gradle to send releases

    to fabric crashlyticsUploadDistributionDebug Build apks Run tests (jenkins/circleci may use it) Release to fabric / google play Scripts base
  16. Nota: fabric plugin add tasks to gradle to send releases

    to fabric crashlyticsUploadDistributionDebug Build apks Run tests (jenkins/circleci may use it) Release to fabric / google play Scripts base
  17. Nota: fabric plugin add tasks to gradle to send releases

    to fabric crashlyticsUploadDistributionDebug Build apks Run tests (jenkins/circleci may use it) Release to fabric / google play Scripts base
  18. Nota: fabric plugin add tasks to gradle to send releases

    to fabric crashlyticsUploadDistributionDebug Build apks Run tests (jenkins/circleci may use it) Release to fabric / google play Scripts base
  19. Nota: fabric plugin add tasks to gradle to send releases

    to fabric crashlyticsUploadDistributionDebug Build apks Run tests (jenkins/circleci may use it) Release to fabric / google play Scripts base
  20. Gradle Versions Plugin ben-manes/gradle-versions-plugin # ./gradlew dependencyUpdate The following dependencies

    are using the latest milestone version: - com.github.ben-manes:gradle-versions-plugin:0.13.0 - com.squareup.picasso:picasso:2.5.2 The following dependencies have later milestone versions: - com.android.support:appcompat-v7 [24.1.1 -> 24.2.1] - com.crashlytics.sdk.android:crashlytics [2.6.2 -> 2.6.5] - io.fabric.tools:gradle [1.21.7 -> 1.22.0] - org.jetbrains.kotlin:kotlin-android-extensions [1.0.3 -> 1.0.4] - org.jetbrains.kotlin:kotlin-annotation-processing [1.0.3 -> 1.0.4] - org.jetbrains.kotlin:kotlin-gradle-plugin [1.0.3 -> 1.0.4] - com.mikepenz:materialdrawer [5.3.6 -> 5.6.0] - com.jakewharton.timber:timber [4.3.0 -> 4.3.1] Generated report file build/dependencyUpdates/report.txt
  21. .bash_profile / .bash_rc export ANDROID_HOME="$HOME/Library/Android/sdk" export GRADLE_HOME="/Applications/Android\ Studio.app/Contents/gradle/ gradle-2.14.1/bin/" export

    PATH=“$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$GRADLE_HOME:$PATH:" alias gw='./gradlew --parallel --daemon'
  22. Debug Menu • JUST FOR INTERNAL BUILDS • Reuse Stetho/CanaryLeak/etc

    enabler code • Share logs easy • Change endpoint host in runtime • See current apk details artem-zinnatullin/qualitymatters baristaventures/debug-artist in progress
  23. References iconfinder.com Google Images Androids moods icons by Joanna Ambroziak

    https://gitlab.com/danielgomezrico/talk-pimp-my-android- project