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

Commit 49bbf04f 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
parent c84bd3b8
Loading
Loading
Loading
Loading
+10 −18
Original line number Original line Diff line number Diff line
@@ -58,27 +58,19 @@ android {




dependencies {
dependencies {
    api project(':NextcloudLib')
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    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 'androidx.annotation:annotation:1.3.0'
    api project(':NextcloudLib')
    
    
    //start to add lib for test - 1/4/21
    androidTestImplementation 'androidx.test:runner:1.4.0'
    //@TODO: add junit runner as lib for testImplementation
    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 'androidx.test:runner:1.4.0'
    testImplementation 'com.android.support.test:rules:1.0.2'
    testImplementation 'androidx.test:rules:1.4.0 '
    testImplementation 'junit:junit:4.12'
    testImplementation 'junit:junit:4.12'
    //testImplementation 'org.robolectric:robolectric:4.4' //need AndroidX
    testImplementation 'org.robolectric:robolectric:4.4'
    testImplementation "org.robolectric:robolectric:3.8"
    testImplementation('org.mockito:mockito-inline:3.4.0')
    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'
}
}