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