Home | History | Annotate | Download | only in Application
      1 
      2 buildscript {
      3     repositories {
      4         jcenter()
      5     }
      6 
      7     dependencies {
      8         classpath 'com.android.tools.build:gradle:2.1.3'
      9     }
     10 }
     11 
     12 apply plugin: 'com.android.application'
     13 
     14 
     15 repositories {
     16     jcenter()
     17 }
     18 
     19 dependencies {
     20     compile 'com.google.android.gms:play-services-location:9.4.0'
     21     compile 'com.google.maps.android:android-maps-utils:0.3.4'
     22     compile 'com.github.bumptech.glide:glide:3.6.1'
     23     compile 'com.android.support:appcompat-v7:24.0.0'
     24     compile 'com.android.support:recyclerview-v7:24.0.0'
     25     compile 'com.android.support:design:24.0.0'
     26     compile 'com.google.android.gms:play-services-wearable:9.4.0'
     27     compile 'com.android.support:support-v13:24.2.1'
     28     compile project(':Shared')
     29     wearApp project(':Wearable')
     30 }
     31 
     32 // The sample build uses multiple directories to
     33 // keep boilerplate and common code separate from
     34 // the main sample code.
     35 List<String> dirs = [
     36     'main',     // main sample code; look here for the interesting stuff.
     37     'common',   // components that are reused by multiple samples
     38     'template'] // boilerplate code that is generated by the sample template process
     39 
     40 android {
     41     compileSdkVersion 24
     42 
     43     buildToolsVersion "24.0.2"
     44 
     45     defaultConfig {
     46         minSdkVersion 18
     47         targetSdkVersion 24
     48         versionCode 1
     49         versionName "1.0"
     50     }
     51 
     52     compileOptions {
     53         sourceCompatibility JavaVersion.VERSION_1_7
     54         targetCompatibility JavaVersion.VERSION_1_7
     55     }
     56 
     57     sourceSets {
     58         main {
     59             dirs.each { dir ->
     60                 java.srcDirs "src/${dir}/java"
     61                 res.srcDirs "src/${dir}/res"
     62             }
     63         }
     64         androidTest.setRoot('tests')
     65         androidTest.java.srcDirs = ['tests/src']
     66 
     67     }
     68 
     69 }
     70