1/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *       http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17buildscript {
18    repositories {
19        google()
20        jcenter()
21    }
22
23    dependencies {
24        classpath 'com.android.tools.build:gradle:3.3.0'
25    }
26}
27
28allprojects {
29    repositories {
30        google()
31        jcenter()
32    }
33}
34
35apply plugin: 'com.android.application'
36
37android {
38    compileSdkVersion 27
39
40    defaultConfig {
41        applicationId "com.android.multiwindowplayground"
42        minSdkVersion 24
43        targetSdkVersion 27
44        versionCode 1
45        versionName "1.0"
46        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
47
48    }
49    buildTypes {
50        release {
51            minifyEnabled false
52            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
53        }
54    }
55    compileOptions {
56        sourceCompatibility JavaVersion.VERSION_1_7
57        targetCompatibility JavaVersion.VERSION_1_7
58    }
59}
60
61dependencies {
62    compile fileTree(include: ['*.jar'], dir: 'libs')
63    testCompile 'junit:junit:4.12'
64    compile 'com.android.support:appcompat-v7:27.0.0'
65    androidTestCompile 'com.android.support:support-annotations:27.0.0'
66    androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'
67}
68