File tree Expand file tree Collapse file tree
ui/espresso/AccessibilitySample Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ android {
1111 versionName " 1.0"
1212
1313 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
14+
15+ multiDexEnabled true
1416 }
1517 lintOptions {
1618 abortOnError false
@@ -22,6 +24,10 @@ android {
2224 includeAndroidResources = true
2325 }
2426 }
27+ compileOptions {
28+ sourceCompatibility JavaVersion . VERSION_1_8
29+ targetCompatibility JavaVersion . VERSION_1_8
30+ }
2531}
2632
2733tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). all {
@@ -34,13 +40,13 @@ dependencies {
3440 // App dependencies
3541 implementation ' androidx.annotation:annotation:' + rootProject. androidxAnnotationVersion;
3642 implementation ' com.google.guava:guava:' + rootProject. guavaVersion
37- // accessibility breaks without this on classpath
38- implementation ' com.android.support:viewpager:28.0.0-alpha1'
43+ implementation ' androidx.multidex:multidex:2.0.1'
3944
4045 // Testing-only dependencies
4146 androidTestImplementation ' androidx.test:core:' + rootProject. coreVersion
4247 androidTestImplementation ' androidx.test.ext:junit:' + rootProject. extJUnitVersion
4348 androidTestImplementation ' androidx.test:runner:' + rootProject. runnerVersion
4449 androidTestImplementation ' androidx.test.espresso:espresso-core:' + rootProject. espressoVersion
4550 androidTestImplementation ' androidx.test.espresso:espresso-accessibility:' + rootProject. espressoVersion
51+ androidTestImplementation ' com.google.android.apps.common.testing.accessibility.framework:accessibility-test-framework:3.1'
4652}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ buildscript {
88 google()
99 }
1010 dependencies {
11- classpath ' com.android.tools.build:gradle:4.0 .1'
11+ classpath ' com.android.tools.build:gradle:4.1 .1'
1212 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1313
1414 // NOTE: Do not place your application dependencies here; they belong
@@ -20,7 +20,6 @@ allprojects {
2020 repositories {
2121 // Insert local test repo here
2222 jcenter()
23-
2423 google()
2524 }
2625}
Original file line number Diff line number Diff line change 1- # Wed Jan 06 11:50:52 PST 2021
1+ # Wed Jan 06 14:30:55 PST 2021
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-6.1.1-all .zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.5-bin .zip
You can’t perform that action at this time.
0 commit comments