Skip to content

Commit efe3763

Browse files
author
Josh Deffibaugh
committed
Adds gson to test deps and extracts version variable
1 parent 2c63784 commit efe3763

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

android-sdk/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ dependencies {
4848
androidTestCompile "com.google.dexmaker:dexmaker:$dexmaker_ver"
4949
androidTestCompile "com.google.dexmaker:dexmaker-mockito:$dexmaker_ver"
5050
androidTestCompile "com.noveogroup.android:android-logger:$android_logger_ver"
51+
androidTestCompile "com.google.code.gson:gson:$gson_ver"
5152
}
5253

5354
uploadArchives {

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ ext {
3535
support_test_runner_ver = "0.5"
3636
dexmaker_ver = "1.2"
3737
espresso_ver = "2.2.2"
38+
gson_ver = "2.6.2"
3839
version_name = "0.0.1"
3940
group_id = "com.optimizely.ab"
4041
}

test-app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies {
3030
// Includes SST Java core, event handler, and user experiment record
3131
compile project(':android-sdk')
3232
// compile 'com.optimizely.ab:android-sdk:0.0.1'
33-
compile 'com.google.code.gson:gson:2.6.2'
33+
compile "com.google.code.gson:gson:$gson_ver"
3434
compile 'com.android.support:appcompat-v7:24.2.1'
3535
compile 'com.android.support:design:24.2.1'
3636

0 commit comments

Comments
 (0)