Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acde5516 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

clean dependencies in app/build.gradle

- replace all androidTestImplementation and testImplementation library into androidx
- reorganize dependencies to make them cleaner

fix typo for 'androidx.test:rules' dependencies
parent 48659b57
Loading
Loading
Loading
Loading
+9 −18
Original line number Diff line number Diff line
@@ -53,32 +53,23 @@ android {
            //includeAndroidResources = true
        }
    }

}


dependencies {
    api project(':NextcloudLib')
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    //implementation 'com.android.support:appcompat-v7:26.1.0'

    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test:rules:1.0.2'
    androidTestImplementation 'androidx.annotation:annotation:1.3.0'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    api 'androidx.annotation:annotation:1.3.0'
    api project(':NextcloudLib')

    //start to add lib for test - 1/4/21
    //@TODO: add junit runner as lib for testImplementation
    androidTestImplementation 'androidx.test:runner:1.4.0'
    androidTestImplementation 'androidx.test:rules:1.4.0'
    androidTestImplementation 'androidx.annotation:annotation:1.3.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
    androidTestImplementation  'junit:junit:4.12'

    testImplementation 'com.android.support.test:runner:1.0.2'
    testImplementation 'com.android.support.test:rules:1.0.2'
    testImplementation 'androidx.test:runner:1.4.0'
    testImplementation 'androidx.test:rules:1.4.0'
    testImplementation 'junit:junit:4.12'
    //testImplementation 'org.robolectric:robolectric:4.4' //need AndroidX
    testImplementation "org.robolectric:robolectric:3.8"
    testImplementation 'org.robolectric:robolectric:4.4'
    testImplementation('org.mockito:mockito-inline:3.4.0')

    //testImplementation Libs.AndroidX.Test.archCoreTesting //TODO: replace by not android X version
    //implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
    androidTestImplementation  'junit:junit:4.12'
}