Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/camera/camera/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ flutter {
}

dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test:rules:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:runner:1.2.0")
androidTestImplementation("androidx.test:rules:1.2.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0")
}
10 changes: 5 additions & 5 deletions packages/camera/camera_android/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ buildFeatures {
}

dependencies {
implementation 'androidx.annotation:annotation:1.9.1'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-inline:5.2.0'
testImplementation 'androidx.test:core:1.7.0'
testImplementation 'org.robolectric:robolectric:4.15.1'
implementation("androidx.annotation:annotation:1.9.1")
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-inline:5.2.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.15.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ flutter {
}

dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test:rules:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:runner:1.2.0")
androidTestImplementation("androidx.test:rules:1.2.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0")
}
20 changes: 10 additions & 10 deletions packages/camera/camera_android_camerax/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ android {
dependencies {
// CameraX core library using the camera2 implementation must use same version number.
def camerax_version = "1.5.0"
implementation "androidx.camera:camera-core:${camerax_version}"
implementation "androidx.camera:camera-camera2:${camerax_version}"
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
implementation "androidx.camera:camera-video:${camerax_version}"
implementation 'com.google.guava:guava:33.5.0-android'
testImplementation 'junit:junit:4.13.2'
testImplementation "org.mockito:mockito-core:5.19.0"
testImplementation 'org.mockito:mockito-inline:5.2.0'
testImplementation 'androidx.test:core:1.7.0'
testImplementation 'org.robolectric:robolectric:4.15.1'
implementation("androidx.camera:camera-core:${camerax_version}")
implementation("androidx.camera:camera-camera2:${camerax_version}")
implementation("androidx.camera:camera-lifecycle:${camerax_version}")
implementation("androidx.camera:camera-video:${camerax_version}")
implementation("com.google.guava:guava:33.5.0-android")
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.19.0")
testImplementation("org.mockito:mockito-inline:5.2.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.15.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ flutter {
}

dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
api 'androidx.test:core:1.4.0'
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:runner:1.2.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0")
api("androidx.test:core:1.4.0")
}
10 changes: 5 additions & 5 deletions packages/espresso/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Add the following dependencies in android/app/build.gradle:

```groovy
dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation "com.google.truth:truth:1.1.3"
androidTestImplementation 'androidx.test:runner:1.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
api 'androidx.test:core:1.2.0'
testImplementation("junit:junit:4.13.2")
testImplementation("com.google.truth:truth:1.1.3")
androidTestImplementation("androidx.test:runner:1.6.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
api("androidx.test:core:1.2.0")
}
```

Expand Down
40 changes: 20 additions & 20 deletions packages/espresso/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,40 +57,40 @@ android {
}

dependencies {
implementation 'com.google.guava:guava:33.4.8-android'
implementation 'com.squareup.okhttp3:okhttp:5.1.0'
implementation 'com.google.code.gson:gson:2.13.2'
androidTestImplementation 'org.hamcrest:hamcrest:3.0'
implementation("com.google.guava:guava:33.4.8-android")
implementation("com.squareup.okhttp3:okhttp:5.1.0")
implementation("com.google.code.gson:gson:2.13.2")
androidTestImplementation("org.hamcrest:hamcrest:3.0")

testImplementation 'junit:junit:4.13.2'
testImplementation "com.google.truth:truth:1.4.5"
api 'androidx.test.espresso:espresso-core:3.7.0'
testImplementation("junit:junit:4.13.2")
testImplementation("com.google.truth:truth:1.4.5")
api("androidx.test.espresso:espresso-core:3.7.0")

// Core library
api 'androidx.test:core:1.7.0'
api("androidx.test:core:1.7.0")

// AndroidJUnitRunner and JUnit Rules
api 'androidx.test:runner:1.7.0'
api 'androidx.test:rules:1.7.0'
api("androidx.test:runner:1.7.0")
api("androidx.test:rules:1.7.0")

// Assertions
api 'androidx.test.ext:junit:1.3.0'
api 'androidx.test.ext:truth:1.7.0'
api 'com.google.truth:truth:1.4.5'
api("androidx.test.ext:junit:1.3.0")
api("androidx.test.ext:truth:1.7.0")
api("com.google.truth:truth:1.4.5")

// Espresso dependencies
api 'androidx.test.espresso:espresso-core:3.7.0'
api 'androidx.test.espresso:espresso-contrib:3.7.0'
api 'androidx.test.espresso:espresso-intents:3.7.0'
api 'androidx.test.espresso:espresso-accessibility:3.7.0'
api 'androidx.test.espresso:espresso-web:3.7.0'
api 'androidx.test.espresso.idling:idling-concurrent:3.7.0'
api("androidx.test.espresso:espresso-core:3.7.0")
api("androidx.test.espresso:espresso-contrib:3.7.0")
api("androidx.test.espresso:espresso-intents:3.7.0")
api("androidx.test.espresso:espresso-accessibility:3.7.0")
api("androidx.test.espresso:espresso-web:3.7.0")
api("androidx.test.espresso.idling:idling-concurrent:3.7.0")

// The following Espresso dependency can be either "implementation"
// or "androidTestImplementation", depending on whether you want the
// dependency to appear on your APK's compile classpath or the test APK
// classpath.
api 'androidx.test.espresso:espresso-idling-resource:3.7.0'
api("androidx.test.espresso:espresso-idling-resource:3.7.0")
}


30 changes: 15 additions & 15 deletions packages/espresso/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,34 +53,34 @@ flutter {
}

dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation("junit:junit:4.13.2")

// Multidex
implementation "androidx.multidex:multidex:2.0.1"
implementation("androidx.multidex:multidex:2.0.1")

// Core library
api 'androidx.test:core:1.6.1'
api("androidx.test:core:1.6.1")

// AndroidJUnitRunner and JUnit Rules
androidTestImplementation 'androidx.test:runner:1.6.1'
androidTestImplementation 'androidx.test:rules:1.6.1'
androidTestImplementation("androidx.test:runner:1.6.1")
androidTestImplementation("androidx.test:rules:1.6.1")

// Assertions
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.ext:truth:1.6.0'
androidTestImplementation 'com.google.truth:truth:1.1.3'
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test.ext:truth:1.6.0")
androidTestImplementation("com.google.truth:truth:1.1.3")

// Espresso dependencies
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-accessibility:3.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-web:3.6.1'
androidTestImplementation 'androidx.test.espresso.idling:idling-concurrent:3.6.1'
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
androidTestImplementation("androidx.test.espresso:espresso-contrib:3.6.1")
androidTestImplementation("androidx.test.espresso:espresso-intents:3.6.1")
androidTestImplementation("androidx.test.espresso:espresso-accessibility:3.6.1")
androidTestImplementation("androidx.test.espresso:espresso-web:3.6.1")
androidTestImplementation("androidx.test.espresso.idling:idling-concurrent:3.6.1")

// The following Espresso dependency can be either "implementation"
// or "androidTestImplementation", depending on whether you want the
// dependency to appear on your APK's compile classpath or the test APK
// classpath.
androidTestImplementation 'androidx.test.espresso:espresso-idling-resource:3.6.1'
androidTestImplementation("androidx.test.espresso:espresso-idling-resource:3.6.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ android {
}

dependencies {
implementation 'androidx.annotation:annotation:1.9.1'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-inline:5.2.0'
testImplementation 'androidx.test:core:1.7.0'
testImplementation "org.robolectric:robolectric:4.15.1"
implementation("androidx.annotation:annotation:1.9.1")
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-inline:5.2.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.15.1")
}

lintOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ flutter {
}

dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.4.0'
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test:rules:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation project(':file_selector_android')
implementation project(':espresso')
api 'androidx.test:core:1.4.0'
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.espresso:espresso-intents:3.4.0")
androidTestImplementation("androidx.test:runner:1.4.0")
androidTestImplementation("androidx.test:rules:1.4.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
implementation(project(':file_selector_android'))
implementation(project(':espresso'))
api("androidx.test:core:1.4.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ android {
}

dependencies {
implementation "androidx.annotation:annotation:1.9.1"
implementation("androidx.annotation:annotation:1.9.1")
}


Expand All @@ -61,6 +61,6 @@ android {
}

dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:5.19.0'
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.19.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ flutter {
}

dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:runner:1.1.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.1.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ android {
}

dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
api 'androidx.test:core:1.4.0'
testImplementation 'com.google.android.gms:play-services-maps:17.0.0'
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:runner:1.2.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0")
api("androidx.test:core:1.4.0")
testImplementation("com.google.android.gms:play-services-maps:17.0.0")
}
namespace 'io.flutter.plugins.googlemapsexample'
lint {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ android {
}

dependencies {
implementation "androidx.annotation:annotation:1.9.1"
implementation 'com.google.android.gms:play-services-maps:19.2.0'
implementation 'com.google.maps.android:android-maps-utils:3.6.0'
androidTestImplementation 'androidx.test:runner:1.7.0'
androidTestImplementation 'androidx.test:rules:1.7.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:5.19.0'
testImplementation 'androidx.test:core:1.7.0'
testImplementation "org.robolectric:robolectric:4.15.1"
implementation("androidx.annotation:annotation:1.9.1")
implementation("com.google.android.gms:play-services-maps:19.2.0")
implementation("com.google.maps.android:android-maps-utils:3.6.0")
androidTestImplementation("androidx.test:runner:1.7.0")
androidTestImplementation("androidx.test:rules:1.7.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0")
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.19.0")
testImplementation("androidx.test:core:1.7.0")
testImplementation("org.robolectric:robolectric:4.15.1")
}

compileOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ android {
}

dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
api 'androidx.test:core:1.4.0'
testImplementation 'com.google.android.gms:play-services-maps:17.0.0'
testImplementation 'com.google.maps.android:android-maps-utils:3.6.0'
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test:runner:1.2.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0")
api("androidx.test:core:1.4.0")
testImplementation("com.google.android.gms:play-services-maps:17.0.0")
testImplementation("com.google.maps.android:android-maps-utils:3.6.0")
}
lint {
disable 'InvalidPackage'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ gradle.projectsEvaluated {
// 'GuardedBy': class file for
// javax.annotation.concurrent.GuardedBy not found
dependencies {
implementation "com.google.code.findbugs:jsr305:3.0.2"
implementation("com.google.code.findbugs:jsr305:3.0.2")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ flutter {
}

dependencies {
implementation 'com.google.android.gms:play-services-auth:16.0.1'
testImplementation'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
api 'androidx.test:core:1.4.0'
implementation("com.google.android.gms:play-services-auth:16.0.1")
testImplementation("junit:junit:4.12")
androidTestImplementation("androidx.test:runner:1.2.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0")
api("androidx.test:core:1.4.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ android {
}

dependencies {
implementation 'androidx.credentials:credentials:1.5.0'
implementation 'androidx.credentials:credentials-play-services-auth:1.5.0'
implementation 'com.google.android.libraries.identity.googleid:googleid:1.1.1'
implementation 'com.google.android.gms:play-services-auth:21.4.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-inline:5.2.0'
implementation("androidx.credentials:credentials:1.5.0")
implementation("androidx.credentials:credentials-play-services-auth:1.5.0")
implementation("com.google.android.libraries.identity.googleid:googleid:1.1.1")
implementation("com.google.android.gms:play-services-auth:21.4.0")
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-inline:5.2.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ flutter {
}

dependencies {
implementation 'com.google.android.gms:play-services-auth:16.0.1'
testImplementation'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
api 'androidx.test:core:1.4.0'
implementation("com.google.android.gms:play-services-auth:16.0.1")
testImplementation("junit:junit:4.12")
androidTestImplementation("androidx.test:runner:1.2.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0")
api("androidx.test:core:1.4.0")
}
Loading