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
26
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
85
A State Container Architecture for mobile applications
malmstein
0
89
Things I wish I knew before starting to work remote
malmstein
0
60
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
Developer Joy == Developer Productivity (really!)
hollycummins
1
220
Amazon BedrockでサーバレスなAIお料理ボットを作成する!!
tosuri13
0
230
Rubyとクリエイティブコーディングの輪の広がり / The Growing Circle of Ruby and Creative Coding
chobishiba
1
270
How to Break into Reading Open Source
kaspth
2
220
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
250
Rubyのobject_id
qnighy
6
1.3k
unique パッケージから学ぶ interning と weak reference @ Asakusa.go#3
karamaru
2
810
ドメイン駆動設計を実践するために必要なもの
bikisuke
4
330
GoのIteratorに詳しくなってしまう
inatonix
1
200
GraphQL あるいは React における自律的なデータ取得について
quramy
11
3k
あなたのアプリ、ログはでてますか?あるいはログをだしてますか? (Funabashi.dev用 軽量版)
uzulla
2
120
Understand the mechanism! Let's do screenshots tests of Compose Previews with various variations / 仕組みから理解する!Composeプレビューを様々なバリエーションでスクリーンショットテストしよう
sumio
3
790
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
65
9.8k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
A Modern Web Designer's Workflow
chriscoyier
691
190k
GitHub's CSS Performance
jonrohan
1030
450k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
How GitHub Uses GitHub to Build GitHub
holman
472
290k
Bash Introduction
62gerente
608
210k
Creatively Recalculating Your Daily Design Routine
revolveconf
215
12k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
5
480
Why You Should Never Use an ORM
jnunemaker
PRO
53
8.9k
Large-scale JavaScript Application Architecture
addyosmani
508
110k
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 ???