@@ -36,36 +36,37 @@ android {
3636
3737dependencies {
3838 // Includes the Optimizely X Full Stack Java SDK, event handler, and user profile
39- compile (project(' :android-sdk' )) {
39+ implementation (project(' :android-sdk' )) {
4040 exclude group : ' com.google.code.gson' , module :' gson'
4141 exclude group : ' com.noveogroup.android' , module :' android-logger'
4242 }
4343
44- // compile 'com.optimizely.ab:android-sdk:1.0.0'
45- compile ' com.android.support:appcompat-v7:28.0.0'
46- compile ' com.android.support:design:28.0.0'
44+ // implementation 'com.optimizely.ab:android-sdk:1.0.0'
45+ implementation ' com.android.support:appcompat-v7:28.0.0'
46+ implementation ' com.android.support:design:28.0.0'
4747 // EXAMPLE REPLACE noveogroup android-looger with slf4j-android logger
4848 // https://mvnrepository.com/artifact/org.slf4j/slf4j-android
49- compile group : ' org.slf4j' , name : ' slf4j-android' , version : ' 1.7.25'
49+ implementation group : ' org.slf4j' , name : ' slf4j-android' , version : ' 1.7.25'
5050 // EXAMPLE REPLACE gson json parsing with jackson-databind json parsing.
51- compile group : ' com.fasterxml.jackson.core' , name : ' jackson-databind' , version : ' 2.9.8'
51+ implementation group : ' com.fasterxml.jackson.core' , name : ' jackson-databind' , version : ' 2.9.8'
5252
53- testCompile " junit:junit:$junit_ver "
54- testCompile " org.mockito:mockito-core:$mockito_ver "
55- testCompile " com.noveogroup.android:android-logger:$android_logger_ver "
56- // testCompile 'com.optimizely.ab:android-sdk:1.0.0'
57- testCompile project(' :android-sdk' )
53+ testImplementation " junit:junit:$junit_ver "
54+ testImplementation " org.mockito:mockito-core:$mockito_ver "
55+ testImplementation " com.noveogroup.android:android-logger:$android_logger_ver "
56+ // testImplementation 'com.optimizely.ab:android-sdk:1.0.0'
57+ testImplementation project(' :android-sdk' )
5858
59- androidTestCompile (" com.android.support.test:runner:$support_test_runner_ver " )
60- androidTestCompile " com.android.support:support-annotations:28.0.0"
59+ androidTestImplementation (" com.android.support.test:runner:$support_test_runner_ver " )
60+ androidTestImplementation " com.android.support:support-annotations:28.0.0"
6161 // Set this dependency to use JUnit 4 rules
62- androidTestCompile " com.android.support.test:rules:$support_test_runner_ver "
62+ androidTestImplementation " com.android.support.test:rules:$support_test_runner_ver "
6363 // Set this dependency to build and run Espresso tests
64- androidTestCompile " com.android.support.test.espresso:espresso-core:$espresso_ver "
65- androidTestCompile " org.mockito:mockito-core:$mockito_ver "
66- androidTestCompile " com.google.dexmaker:dexmaker:$dexmaker_ver "
67- androidTestCompile " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
68- // androidTestCompile 'com.optimizely.ab:android-sdk:1.0.0'
69- androidTestCompile project(' :android-sdk' )
70- androidTestCompile project(path : ' :shared' )
64+ androidTestImplementation " com.android.support.test.espresso:espresso-core:$espresso_ver "
65+ androidTestImplementation " org.mockito:mockito-core:$mockito_ver "
66+ androidTestImplementation " com.google.dexmaker:dexmaker:$dexmaker_ver "
67+ androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
68+ // androidTestImplementation 'com.optimizely.ab:android-sdk:1.0.0'
69+ androidTestImplementation project(' :android-sdk' )
70+ androidTestImplementation project(path : ' :shared' )
71+ androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:2.9.8"
7172}
0 commit comments