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
250
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
22
Building a Multiplatform library for iOS and Android
malmstein
9
1k
Unidirectional Data Flow on Android
malmstein
6
460
Introduction to Kotlin Coroutines
malmstein
0
69
A State Container Architecture for mobile applications
malmstein
0
88
Things I wish I knew before starting to work remote
malmstein
0
57
Remote, lonely and productive
malmstein
0
130
The source of all technical debt
malmstein
6
370
Android Architecture Blueprints
malmstein
0
180
Other Decks in Programming
See All in Programming
"config" ってなんだ? / What is "config"?
okashoi
0
220
ゆるい個人開発のススメ
kuroppe1819
10
950
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
440
1BRC--Nerd Sniping the Java Community
gunnarmorling
0
320
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
230
ONE WEDGE_company_guide
1wedge_one
0
390
What We Can Learn From OSS
inouehi
0
410
Elm 0.19.0 Changes
bkuhlmann
0
490
PostmanでAPIの動作確認が楽になった話
h455h1
0
140
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
500
Netty Chicago Java User Group 2024-04-17
sullis
0
140
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
240
Featured
See All Featured
Navigating Team Friction
lara
177
13k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
A Tale of Four Properties
chriscoyier
150
22k
Happy Clients
brianwarren
91
6.4k
4 Signs Your Business is Dying
shpigford
175
21k
The Invisible Side of Design
smashingmag
294
49k
Web development in the modern age
philhawksworth
202
10k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Bash Introduction
62gerente
604
210k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
115
18k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
990
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 ???