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 17 buildscript { 18 repositories { 19 jcenter() 20 } 21 22 dependencies { 23 classpath 'com.android.tools.build:gradle:2.1.2' 24 } 25 } 26 27 allprojects { 28 repositories { 29 jcenter() 30 } 31 } 32 33 apply plugin: 'com.android.application' 34 35 android { 36 compileSdkVersion 24 37 buildToolsVersion '23.0.3' 38 39 defaultConfig { 40 applicationId "com.android.multiwindowplayground" 41 minSdkVersion 24 42 targetSdkVersion 24 43 versionCode 1 44 versionName "1.0" 45 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 46 47 } 48 buildTypes { 49 release { 50 minifyEnabled false 51 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 52 } 53 } 54 compileOptions { 55 sourceCompatibility JavaVersion.VERSION_1_7 56 targetCompatibility JavaVersion.VERSION_1_7 57 } 58 } 59 60 dependencies { 61 compile fileTree(include: ['*.jar'], dir: 'libs') 62 testCompile 'junit:junit:4.12' 63 compile 'com.android.support:appcompat-v7:24.0.0-beta1' 64 androidTestCompile 'com.android.support:support-annotations:24.0.0-beta1' 65 androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1' 66 } 67