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