1
1
apply plugin : ' com.android.application'
2
- apply plugin : ' com.facebook.testing.screenshot'
3
2
apply plugin : ' kotlin-android'
4
3
5
- screenshots {
6
- failureDir = " ${ rootProject.buildDir} /reports/diff_failures"
7
- recordDir = " ${ rootProject.projectDir} /reports/screenshots"
8
- }
9
-
10
4
android {
11
5
lintOptions {
12
6
abortOnError true
13
7
checkAllWarnings true
14
8
showAll true
15
9
warningsAsErrors true
16
10
checkTestSources true
17
- htmlReport false
18
- xmlReport true
19
- xmlOutput file(" ${ rootProject.buildDir} /reports/lint-results.xml" )
11
+ textOutput ' stdout'
20
12
// UnpackedNativeCode can break stack unwinding - see b/193408481
21
13
// NewerVersionAvailable and GradleDependency need to be taken care of
22
14
// by a roller rather than as part of CI.
@@ -62,13 +54,13 @@ dependencies {
62
54
if (project. hasProperty(' flutter_jar' )) {
63
55
implementation files(project. property(' flutter_jar' ))
64
56
}
65
- implementation ' com.facebook.testing.screenshot:layout-hierarchy-common:0.12.0'
66
57
implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
67
58
implementation ' com.google.android.material:material:1.0.0'
68
59
androidTestImplementation ' junit:junit:4.12'
69
60
androidTestImplementation ' androidx.test:runner:1.2.0'
70
61
androidTestImplementation ' androidx.test:rules:1.2.0'
71
62
androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
63
+ androidTestImplementation ' com.google.guava:guava:30.1-android'
72
64
73
65
def leakcanary_version = ' 2.7'
74
66
androidTestImplementation " com.squareup.leakcanary:leakcanary-android:$leakcanary_version "
@@ -85,7 +77,7 @@ configureDependencies(new File(rootDir, '../../..')) { dependency ->
85
77
86
78
tasks. register(' generateLockfiles' ) {
87
79
rootProject. subprojects. each { subproject ->
88
- def gradle = " ${ rootProject.projectDir} /../../../../gradle/bin/gradle"
80
+ def gradle = " ${ rootProject.projectDir} /../../../../third_party/ gradle/bin/gradle"
89
81
rootProject. exec {
90
82
workingDir rootProject. projectDir
91
83
executable gradle
0 commit comments