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 buildscript { 17 repositories { 18 jcenter() 19 } 20 21 dependencies { 22 classpath 'com.android.tools.build:gradle:2.1.2' 23 } 24 } 25 26 apply plugin: 'com.android.application' 27 28 android { 29 compileSdkVersion 24 30 buildToolsVersion "23.0.2" 31 32 defaultConfig { 33 applicationId "com.example.android.dragsource" 34 minSdkVersion 24 35 targetSdkVersion 24 36 versionCode 1 37 versionName "1.0" 38 } 39 buildTypes { 40 release { 41 minifyEnabled false 42 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 43 } 44 } 45 } 46 47 dependencies { 48 compile fileTree(dir: 'libs', include: ['*.jar']) 49 compile 'com.android.support:appcompat-v7:24.1.1' 50 compile 'com.android.support:support-v13:24.1.1' 51 52 } 53