couchbase/couchbase-lite-android-listener — pull request #12 by yaronyg (2013-10-30 22:41:27+00:00)
Title: What listener would look like to make it fully Gradle happy

I am working with listener in Android 0.3.0 which has fully embraced Gradle. To make this work nicely with listener just requires the changes below. The only major change is that I pulled UPLOAD_VERSION_CBLITE out of system environment and instead made it a Gradle property. I then set that property in gradle.properties. Note btw that checking in the other Gradle artifacts is intentional (as specified in the Gradle docs) since it makes sure everyone builds in the same environment.

The benefit of this work is two fold:
1) Everyone builds in exactly the same way so we have reproducibility
2) You can use file->import project, point at build.gradle and it 'just works' in Android Studio 0.3.0 which is really, really nice.

Thoughts? Is this a reasonable change?

Thanks,

Yaron