Your SlideShare is downloading. ×
Gradle as cmd
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Gradle as cmd

226
views

Published on

Published in: Technology, Business

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
226
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. @dggonzalez +David González
  • 2. Process!
  • 3. project structure
  • 4. testing ! ! unit tests instrumentation tests robolectric monkey
  • 5. flavours
  • 6. ! ! debug betaRelease release QA
  • 7. buildTypes { debug { packageNameSuffix ".debug" versionNameSuffix "-debug" } ! betaRelease { debuggable false jniDebugBuild false signingConfig signingConfigs.arteBetaRelease } ! } release { debuggable false jniDebugBuild false signingConfig signingConfigs.arteRelease }
  • 8. custom config ! String tag = createBuildConstant("TAG", "ARTE_DEBUG") ! buildConfig syncFrequency, providerAuthority, suggestionsAuthority, pushVersion, tag, xitiDomain, xitiSiteId, gcmServer ! Log.d(BuildConfig.TAG, ”stupid log”)
  • 9. signing
  • 10. ! signingConfigs { ! } arteRelease { storeFile file("../team-props/arteBeta.keystore") storePassword "arteandroid" keyAlias "arte" keyPassword "arteandroid" } arteBetaRelease { storeFile file("../team-props/arte.keystore") storePassword "THEPASSWORD" keyAlias "THEALIAS" keyPassword "THEALIASPASSWORD" }
  • 11. issues
  • 12. ! testing is slow no google play console almost weekly updates resources merging
  • 13. advantages ! right direction Google is working on it almost weekly updates flavours customizable
  • 14. contribute ! https://github.com/novoda/ AndroidBuildTools/issues ! https://github.com/novoda/gradle-androidtest-plugin ! https://github.com/novoda/gradle-androidcommand-plugin
  • 15. ??? @dggonzalez www.novoda.com/blog david@novoda.com +David González