gradle as cmd

Post on 29-Aug-2014

389 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

@dggonzalez +David González

Process!

project structure

testing!

!

unit tests instrumentation tests

robolectric monkey

flavours

!

!

debug betaRelease

release QA

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

! 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" } }

issues

!

testing is slow no google play console almost weekly updates

resources merging

advantages!

right direction Google is working on it almost weekly updates

flavours customizable

contribute!

https://github.com/novoda/AndroidBuildTools/issues

!

https://github.com/novoda/gradle-android-test-plugin

!

https://github.com/novoda/gradle-android-command-plugin

@dggonzalez www.novoda.com/blog

david@novoda.com

+David González

???

top related