1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

Upgrade Gradle to 7.2 and Android Gradle plugin to 4.2.

The older versions of the plugin caused problems building with newer
NDK versions due to a lack of MIPS support.

This also required upgrading to a version of Gradle that knows about
the Google Maven repository.
This commit is contained in:
Peter Collingbourne 2021-09-27 17:20:56 -07:00 committed by Marc Bonnici
parent c023b9859c
commit 0b558e408c
102 changed files with 144 additions and 102 deletions

View File

@ -12,7 +12,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$$project.buildDir/apk/${package_name}.apk") output.outputFileName = "${package_name}.apk"
} }
} }
} }

View File

@ -31,8 +31,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
rm -f ../$package_name rm -f ../$package_name
if [[ -f app/build/apk/$package_name.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package_name.apk ]]; then
cp app/build/apk/$package_name.apk ../$package_name.apk cp app/build/outputs/apk/debug/$package_name.apk ../$package_name.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
@ -16,6 +17,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

Binary file not shown.

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.adobereader package=com.arm.wa.uiauto.adobereader
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.aitutu package=com.arm.wa.uiauto.aitutu
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.androbench package=com.arm.wa.uiauto.androbench
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -20,7 +20,7 @@ android {
} }
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.antutu package=com.arm.wa.uiauto.antutu
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
package=com.arm.wa.uiauto.applaunch package=com.arm.wa.uiauto.applaunch
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.benchmarkpi package=com.arm.wa.uiauto.benchmarkpi
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -12,7 +12,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/com.arm.wa.uiauto.chrome.apk") output.outputFileName = "com.arm.wa.uiauto.chrome.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -46,8 +46,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
rm -f ../com.arm.wa.uiauto.chrome rm -f ../com.arm.wa.uiauto.chrome
if [[ -f app/build/apk/com.arm.wa.uiauto.chrome.apk ]]; then if [[ -f app/build/outputs/apk/debug/com.arm.wa.uiauto.chrome.apk ]]; then
cp app/build/apk/com.arm.wa.uiauto.chrome.apk ../com.arm.wa.uiauto.chrome.apk cp app/build/outputs/apk/debug/com.arm.wa.uiauto.chrome.apk ../com.arm.wa.uiauto.chrome.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -50,8 +50,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.geekbench package=com.arm.wa.uiauto.geekbench
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -20,7 +20,7 @@ android {
} }
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -32,8 +32,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.gfxbench package=com.arm.wa.uiauto.gfxbench
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -32,8 +32,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.glbenchmark package=com.arm.wa.uiauto.glbenchmark
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -20,7 +20,7 @@ android {
} }
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.gmail package=com.arm.wa.uiauto.gmail
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -12,7 +12,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/com.arm.wa.uiauto.googlemaps.apk") output.outputFileName = "com.arm.wa.uiauto.googlemaps.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -46,8 +46,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
rm -f ../com.arm.wa.uiauto.googlemaps rm -f ../com.arm.wa.uiauto.googlemaps
if [[ -f app/build/apk/com.arm.wa.uiauto.googlemaps.apk ]]; then if [[ -f app/build/outputs/apk/debug/com.arm.wa.uiauto.googlemaps.apk ]]; then
cp app/build/apk/com.arm.wa.uiauto.googlemaps.apk ../com.arm.wa.uiauto.googlemaps.apk cp app/build/outputs/apk/debug/com.arm.wa.uiauto.googlemaps.apk ../com.arm.wa.uiauto.googlemaps.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -20,7 +20,7 @@ android {
} }
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.googlephotos package=com.arm.wa.uiauto.googlephotos
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.googleplaybooks package=com.arm.wa.uiauto.googleplaybooks
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.googleslides package=com.arm.wa.uiauto.googleslides
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -20,7 +20,7 @@ android {
} }
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.motionmark package=com.arm.wa.uiauto.motionmark
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -20,7 +20,7 @@ android {
} }
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.pcmark package=com.arm.wa.uiauto.pcmark
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

View File

@ -47,8 +47,8 @@ fi
# If successful move APK file to workload folder (overwrite previous) # If successful move APK file to workload folder (overwrite previous)
package=com.arm.wa.uiauto.vellamo package=com.arm.wa.uiauto.vellamo
rm -f ../$package rm -f ../$package
if [[ -f app/build/apk/$package.apk ]]; then if [[ -f app/build/outputs/apk/debug/$package.apk ]]; then
cp app/build/apk/$package.apk ../$package.apk cp app/build/outputs/apk/debug/$package.apk ../$package.apk
else else
echo 'ERROR: UiAutomator apk could not be found!' echo 'ERROR: UiAutomator apk could not be found!'
exit 9 exit 9

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View File

@ -14,7 +14,7 @@ android {
buildTypes { buildTypes {
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.each { output -> variant.outputs.each { output ->
output.outputFile = file("$project.buildDir/apk/${packageName}.apk") output.outputFileName = "${packageName}.apk"
} }
} }
} }

View File

@ -3,9 +3,10 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -15,6 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
google()
} }
} }

Some files were not shown because too many files have changed in this diff Show More