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