Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Gradle, and the beauty of the command line
Search
David González
November 26, 2013
Programming
4
260
Gradle, and the beauty of the command line
David González
November 26, 2013
Tweet
Share
More Decks by David González
See All by David González
A comprehensive guide to tracker protection on Android
malmstein
1
27
Building a Multiplatform library for iOS and Android
malmstein
9
1.1k
Unidirectional Data Flow on Android
malmstein
6
470
Introduction to Kotlin Coroutines
malmstein
0
86
A State Container Architecture for mobile applications
malmstein
0
92
Things I wish I knew before starting to work remote
malmstein
0
63
Remote, lonely and productive
malmstein
0
140
The source of all technical debt
malmstein
6
370
Android Architecture Blueprints
malmstein
0
200
Other Decks in Programming
See All in Programming
dbt-ga4パッケージを実業務に導入してみた話
t_tokumaru_feedcorp
0
130
Unlocking Python's Core Magic
leew
0
130
Pythonによるイベントソーシングへの挑戦と現状に対する考察 / Challenging Event Sourcing with Python and Reflections on the Current State
nrslib
3
1.3k
20241004 モノタロウ式~ドメインモデリングとリアーキテクチャ
monotaro
PRO
1
280
tsconfig.jsonの最近の新機能 ファイルパス編
uhyo
7
1.7k
Google Play Consoleデベロッパー アカウントの確認 / Verifying your Play Console developer account
kubode
0
130
Beyond Laravel Octane - Hyperf for Laravel Artisans
albertcht
1
140
UnJSで簡単に始めるCLIツール開発 / cli-tool-development-with-unjs
aoseyuu
2
330
個人開発で使ってるやつを紹介する回
yohfee
1
710
Vue :: Better Testing 2024
up1
1
410
Re:PandasAI:生成AIがデータ分析業務にもたらすパラダイムシフト【増補改訂版】
negi111111
1
1.1k
デバッグの話 / Debugging for Beginners
kaityo256
PRO
8
630
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Statistics for Hackers
jakevdp
796
220k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Fontdeck: Realign not Redesign
paulrobertlloyd
81
5.2k
Done Done
chrislema
181
16k
For a Future-Friendly Web
brad_frost
174
9.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
3
230
Creatively Recalculating Your Daily Design Routine
revolveconf
217
12k
A Philosophy of Restraint
colly
203
16k
Clear Off the Table
cherdarchuk
91
320k
A designer walks into a library…
pauljervisheath
202
24k
Transcript
@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 ???