Wearable samples sometimes have special gradle setups that nest one application within another. As such, inclusion in the existing samples generator may be tricky. Instead, just prepare the sample for direct inclusion into the sdk distribution. Create a convenience gradle build to build all wearable samples at once. Bug: 15591212 Change-Id: I6e03f7c5cc87909430b927aca4b403ded77917ab
29 lines
548 B
Groovy
29 lines
548 B
Groovy
apply plugin: 'android'
|
|
|
|
android {
|
|
compileSdkVersion 19
|
|
buildToolsVersion "19.1"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 18
|
|
targetSdkVersion 19
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
runProguard false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
|
|
aaptOptions {
|
|
noCompress 'apk'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile "com.android.support:support-v4:20.0.+"
|
|
wearApp project(':Wearable')
|
|
} |