SHOW:
|
|
- or go back to the newest paste.
| 1 | buildscript {
| |
| 2 | repositories {
| |
| 3 | jcenter() | |
| 4 | } | |
| 5 | dependencies {
| |
| 6 | - | classpath 'com.android.tools.build:gradle:0.13.0' |
| 6 | + | classpath 'com.android.tools.build:gradle:0.13.0' |
| 7 | } | |
| 8 | } | |
| 9 | apply plugin: 'com.android.application' | |
| 10 | ||
| 11 | repositories {
| |
| 12 | jcenter() | |
| 13 | } | |
| 14 | ||
| 15 | - | compileSdkVersion 21 |
| 15 | + | |
| 16 | compileSdkVersion 21 | |
| 17 | buildToolsVersion "21.0.2" | |
| 18 | ||
| 19 | - | minSdkVersion 17 |
| 19 | + | |
| 20 | - | targetSdkVersion 21 |
| 20 | + | |
| 21 | minSdkVersion 20 | |
| 22 | - | versionName "1.0" |
| 22 | + | targetSdkVersion 20 |
| 23 | versionCode 1 | |
| 24 | versionName "1.0" | |
| 25 | } | |
| 26 | ||
| 27 | - | targetCompatibility JavaVersion.VERSION_1_7 } |
| 27 | + | |
| 28 | sourceCompatibility JavaVersion.VERSION_1_7 | |
| 29 | targetCompatibility JavaVersion.VERSION_1_7 | |
| 30 | } | |
| 31 | ||
| 32 | // Uncomment this to enable signing of the release APK | |
| 33 | /* | |
| 34 | signingConfigs {
| |
| 35 | release {
| |
| 36 | storeFile file("/home/kisscool/.../abc.keystore")
| |
| 37 | storePassword "..." | |
| 38 | keyAlias "..." | |
| 39 | keyPassword "..." | |
| 40 | } | |
| 41 | } | |
| 42 | ||
| 43 | buildTypes {
| |
| 44 | release {
| |
| 45 | signingConfig signingConfigs.release | |
| 46 | } | |
| 47 | } | |
| 48 | */ | |
| 49 | } | |
| 50 | ||
| 51 | - | wearApp project(':wear')
|
| 51 | + | |
| 52 | compile fileTree(dir: 'libs', include: ['*.jar']) | |
| 53 | compile 'com.google.android.support:wearable:+' | |
| 54 | compile 'com.google.android.gms:play-services-wearable:+' | |
| 55 | } |