mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	The version of gradle being used was out of date, update to a later version to fix building of uiauto apks.
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| apply plugin: 'com.android.application'
 | |
| 
 | |
| def packageName = "com.arm.wa.uiauto.googlephotos"
 | |
| 
 | |
| android {
 | |
|     compileSdkVersion 28
 | |
|     buildToolsVersion "28.0.3"
 | |
|     defaultConfig {
 | |
|         applicationId "${packageName}"
 | |
|         minSdkVersion 18
 | |
|         targetSdkVersion 28
 | |
|         versionCode 1
 | |
|         versionName "1.0"
 | |
|         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
 | |
|     }
 | |
|     buildTypes {
 | |
|         release {
 | |
|             minifyEnabled false
 | |
|             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
 | |
|         }
 | |
|         applicationVariants.all { variant ->
 | |
|             variant.outputs.each { output ->
 | |
|                 output.outputFileName = "${packageName}.apk"
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | |
| dependencies {
 | |
|     implementation fileTree(dir: 'libs', include: ['*.jar'])
 | |
|     implementation 'com.android.support.test:runner:0.5'
 | |
|     implementation 'com.android.support.test:rules:0.5'
 | |
|     implementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
 | |
|     implementation(name: 'uiauto', ext:'aar')
 | |
| }
 | |
| 
 | |
| repositories {
 | |
|     flatDir {
 | |
|         dirs 'libs'
 | |
|     }
 | |
| }
 |