1*d353a188SXin Li/* 2*d353a188SXin Li * Copyright (C) 2016 The Android Open Source Project 3*d353a188SXin Li * 4*d353a188SXin Li * Licensed under the Apache License, Version 2.0 (the "License"); 5*d353a188SXin Li * you may not use this file except in compliance with the License. 6*d353a188SXin Li * You may obtain a copy of the License at 7*d353a188SXin Li * 8*d353a188SXin Li * http://www.apache.org/licenses/LICENSE-2.0 9*d353a188SXin Li * 10*d353a188SXin Li * Unless required by applicable law or agreed to in writing, software 11*d353a188SXin Li * distributed under the License is distributed on an "AS IS" BASIS, 12*d353a188SXin Li * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*d353a188SXin Li * See the License for the specific language governing permissions and 14*d353a188SXin Li * limitations under the License. 15*d353a188SXin Li */ 16*d353a188SXin Li 17*d353a188SXin Libuildscript { 18*d353a188SXin Li repositories { 19*d353a188SXin Li jcenter() 20*d353a188SXin Li } 21*d353a188SXin Li 22*d353a188SXin Li dependencies { 23*d353a188SXin Li classpath 'com.android.tools.build:gradle:3.0.0' 24*d353a188SXin Li } 25*d353a188SXin Li} 26*d353a188SXin Li 27*d353a188SXin Liapply plugin: 'com.android.application' 28*d353a188SXin Li 29*d353a188SXin Liandroid { 30*d353a188SXin Li compileSdkVersion 24 31*d353a188SXin Li buildToolsVersion "23.0.2" 32*d353a188SXin Li 33*d353a188SXin Li defaultConfig { 34*d353a188SXin Li applicationId "com.example.android.droptarget" 35*d353a188SXin Li minSdkVersion 24 36*d353a188SXin Li targetSdkVersion 24 37*d353a188SXin Li versionCode 1 38*d353a188SXin Li versionName "1.0" 39*d353a188SXin Li } 40*d353a188SXin Li buildTypes { 41*d353a188SXin Li release { 42*d353a188SXin Li minifyEnabled false 43*d353a188SXin Li proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 44*d353a188SXin Li } 45*d353a188SXin Li } 46*d353a188SXin Li} 47*d353a188SXin Li 48*d353a188SXin Lidependencies { 49*d353a188SXin Li compile fileTree(dir: 'libs', include: ['*.jar']) 50*d353a188SXin Li compile 'com.android.support:appcompat-v7:24.0.0' 51*d353a188SXin Li compile 'com.android.support:support-v13:24.0.0' 52*d353a188SXin Li} 53