From fe5b51b16b16f2146a943a19657367811eaabcd8 Mon Sep 17 00:00:00 2001 From: Dave Parker Date: Thu, 23 Apr 2020 16:01:14 -0400 Subject: [PATCH] Update sample app's build.gradle to refer to the externally released version of Store --- RELEASING.md | 2 +- app/build.gradle | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 1549dd5dd..970e3c3ce 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -12,6 +12,6 @@ Releasing 11. Create a PR with these 2 commits. * **IMPORTANT** Add this comment to your PR "This is a release PR, it must be merged as individual commits. Do not squash commits on merge" * Longer explanation: we release automatically through Travis CI. When Travis builds on master a script is run to send either a new shapshot or a new release version to Maven. If you squash the commits in the PR, Travis will only see what's left at the end, which is your commit to change back to `SNAPSHOT` release. Thus, Travis will not end up sending a release version to Maven. If you land as multiple commits, Travis will build both and send a release build to Maven for the commit where you bumped the version to a new release version. - 11. Update the sample module to point to the newly released version. (May take 2 hours) + 11. Update the sample module's `build.gradle` to point to the newly released version. (It may take ~2 hours for artifact to be available after release) If step 5 or 6 fails, drop the Sonatype repo, fix the problem, commit, and start again at step 5. diff --git a/app/build.gradle b/app/build.gradle index 41440c186..64c5d00e9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -42,7 +42,15 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) { } } +ext.storeRelease = [ + version : '4.0.0-alpha05', + group : 'com.dropbox.mobile.store' +] + dependencies { + implementation "${storeRelease.group}:store4:${storeRelease.version}" + implementation "${storeRelease.group}:cache4:${storeRelease.version}" + implementation "${storeRelease.group}:filesystem4:${storeRelease.version}" testImplementation libraries.junit testImplementation libraries.mockito @@ -66,9 +74,6 @@ dependencies { implementation libraries.retrofitMoshiConverter kapt(libraries.moshiCodegen) kapt(libraries.roomCompiler) - implementation project(':store') - implementation project(':cache') - implementation project(':filesystem') implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin" implementation libraries.coroutinesCore