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

給忙碌開發者的Android開發流程自動化簡介

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for Elvis Lin Elvis Lin
October 15, 2016

 給忙碌開發者的Android開發流程自動化簡介

簡介開發者為什麼需要 Continuous Integration,以及在 Android 開發上需要實踐 Continuous Integration 的基本步驟 #JCConf2016

Avatar for Elvis Lin

Elvis Lin

October 15, 2016
Tweet

More Decks by Elvis Lin

Other Decks in Programming

Transcript

  1. Every time they got a problem they found that they

    were still repeating what they were doing. They would write a tool for it, automate it. — Edmond Lau
  2. Gradle • ℂ Command Line ک IDE ک CI Server

    ᮷磪ඪൔ • Groovy Script (चෝ Groovy 戔懯ጱ DSL) • Product Flavour • Powerful Dependencies Management
  3. ࣁ޸犤ڜ翥捌 Android • Windows
 > gradlew.bat assembleDebug • Mac
 $

    chmod +x gradlew
 $ ./gradlew assembleDebug • 䁆ᤈᛔ懪ጱ犨率
 $ ./gradlew tasks
  4. Crashlytic • 痀ෝ Fabric Mobile Development Kits ጱӞ蟂犩 • 蝍擽ֵአᘏ咳ኞጱ梊藮

    • 叨ኞ梊藮䁭ޞ • 朼䌘犋ݶጱ秚ࣳ牏碻樌牏纷ୗ嘨֖ᗝ֢ڊ獤觊