@@ -5,11 +5,11 @@ apply plugin: 'androidx.benchmark'
55// [END benchmark_apply_plugin]
66
77android {
8- compileSdkVersion 31
8+ compileSdk rootProject . compileSdkVersion
99
1010 defaultConfig {
11- minSdkVersion 14
12- targetSdkVersion 31
11+ minSdk rootProject . minSdkVersion
12+ targetSdk rootProject . targetSdkVersion
1313
1414 // Set this argument to capture profiling information, instead of measuring performance.
1515 // Can be one of:
@@ -40,23 +40,23 @@ android {
4040
4141// [START benchmark_dependency]
4242dependencies {
43- androidTestImplementation " androidx.benchmark:benchmark-junit4:$b enchmark_version "
43+ androidTestImplementation " androidx.benchmark:benchmark-junit4:$b enchmarkVersion "
4444 androidTestImplementation project(' :benchmarkable' )
4545 // [START_EXCLUDE]
4646 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
4747
48- androidTestImplementation " org.jetbrains.kotlin:kotlin-stdlib:$k otlin_version "
49- androidTestImplementation ' junit:junit:4.13.2 '
48+ androidTestImplementation " org.jetbrains.kotlin:kotlin-stdlib:$k otlinVersion "
49+ androidTestImplementation " junit:junit:$j UnitVersion "
5050
51- androidTestImplementation ' androidx.test:runner:1.4.0 '
52- androidTestImplementation ' androidx.test:rules:1.4.0 '
53- androidTestImplementation ' androidx.test.ext:junit:1.1.3 '
51+ androidTestImplementation " androidx.test:runner:$a ndroidxTestVersion "
52+ androidTestImplementation " androidx.test:rules:$a ndroidxTestVersion "
53+ androidTestImplementation " androidx.test.ext:junit:$t estExtVersion "
5454
5555 // duplicate the dependencies of ui module here, to ensure we have the same versions
56- androidTestImplementation ' androidx.appcompat:appcompat:1.4.1 '
57- androidTestImplementation ' androidx.constraintlayout:constraintlayout:2.1.3 '
58- androidTestImplementation ' androidx.cardview:cardview:1.0.0 '
59- androidTestImplementation ' androidx.recyclerview:recyclerview:1.2.1 '
56+ androidTestImplementation " androidx.appcompat:appcompat:$a ppcompatVersion "
57+ androidTestImplementation " androidx.constraintlayout:constraintlayout:$c onstraintLayoutVersion "
58+ androidTestImplementation " androidx.cardview:cardview:$c ardViewVersion "
59+ androidTestImplementation " androidx.recyclerview:recyclerview:$r ecyclerViewVersion "
6060 // [END_EXCLUDE]
6161}
6262// [END benchmark_dependency]
0 commit comments