Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Gradle, and the beauty of the command line
Search
David González
November 26, 2013
Programming
300
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Gradle, and the beauty of the command line
David González
November 26, 2013
Transcript
31 slides
@dggonzalez +David González
Process!
None
None
None
None
None
project structure
testing unit tests instrumentation tests robolectric monkey
None
None
None
None
None
None
None
None
flavours
! ! debug betaRelease release amazon
buildTypes { debug { packageNameSuffix ".debug" versionNameSuffix "-debug" } !
betaRelease { debuggable false jniDebugBuild false signingConfig signingConfigs.arteBetaRelease } ! release { debuggable false jniDebugBuild false signingConfig signingConfigs.arteRelease } }
custom config ! String tag = createBuildConstant("TAG", "ARTE_DEBUG") ! buildConfig
syncFrequency, providerAuthority, suggestionsAuthority, pushVersion, tag, xitiDomain, xitiSiteId, gcmServer ! Log.d(BuildConfig.TAG, ”stupid log”)
signing
! arteBetaRelease arteGooglePlay arteAmazon
publishing
! apply plugin: ‘deploygate' ! Properties props = new Properties()
props.load(new FileInputStream(file(project.property("DEPLOY.properties")))) ! arteRelease { storeFile file("../team-props/arte-android-keystore") storePassword props['signing.release.storePassword'] keyAlias props['signing.release.keyAlias'] keyPassword props['signing.release.keyPassword'] } arteBetaRelease { storeFile file("../team-props/arte.keystore") storePassword "THEPASSWORD" keyAlias "THEALIAS" keyPassword "THEALIASPASSWORD" } }
issues
! testing is slow no google play console almost weekly
updates backwards compatibility
advantages ! right direction Google support almost weekly updates flavours
customisable
contribute ! https://github.com/novoda/ AndroidBuildTools/issues ! https://github.com/novoda/gradle-android- test-plugin ! https://github.com/novoda/gradle-android- command-plugin
None
@dggonzalez www.novoda.com/blog
[email protected]
+David González ???
More Decks by David González
See All by David González
A comprehensive guide to tracker protection on Android
malmstein
1
120
Building a Multiplatform library for iOS and Android
malmstein
9
1.4k
Unidirectional Data Flow on Android
malmstein
6
580
Introduction to Kotlin Coroutines
malmstein
0
210
A State Container Architecture for mobile applications
malmstein
0
180
Things I wish I knew before starting to work remote
malmstein
0
130
Remote, lonely and productive
malmstein
0
220
The source of all technical debt
malmstein
6
470
Android Architecture Blueprints
malmstein
0
350
Other Decks in Programming
See All in Programming
Distance field of Julia set
kinakomoti321
0
330
Lean で手続き的プログラム の証明が書けるようになった
inoueasei
11
5.8k
Spec-driven Development with AI
simas
PRO
0
2.3k
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
240
正解の無い問題を 「できるだけ上手く」解く ヒューリスティックで感性を磨こう。〜現実課題をプログラミングで解きあうコミュニティについて〜
allegrogiken
0
120
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
280
Jujutsu で毎日のバージョン管理に「安心」と「直感性」を
oukayuka
0
130
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
200
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
520
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
450
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Product Roadmaps are Hard
iamctodd
55
13k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
350
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Designing Experiences People Love
moore
143
24k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
43k
Evolving SEO for Evolving Search Engines
ryanjones
0
380
The Language of Interfaces
destraynor
163
27k
Agile that works and the tools we love
rasmusluckow
331
22k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k