@dggonzalez+David González
View Slide
Process!
project structure
testingunit tests instrumentation tests robolectric monkey
flavours
!!debugbetaReleasereleaseamazon
buildTypes {debug {packageNameSuffix ".debug"versionNameSuffix "-debug"}!betaRelease {debuggable falsejniDebugBuild falsesigningConfig signingConfigs.arteBetaRelease}!release {debuggable falsejniDebugBuild falsesigningConfig 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
!arteBetaReleasearteGooglePlayarteAmazon
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 slowno google play consolealmost weekly updatesbackwards compatibility
advantages!right directionGoogle supportalmost weekly updatesflavourscustomisable
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[email protected]+David González???