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 */ 16buildscript { 17 repositories { 18 google() 19 mavenCentral() 20 jcenter() 21 } 22 23 dependencies { 24 classpath 'com.android.tools.build:gradle:3.3.0' 25 } 26} 27 28apply plugin: 'com.android.application' 29 30android { 31 compileSdkVersion 28 32 33 defaultConfig { 34 applicationId "com.example.android.dragsource" 35 minSdkVersion 24 36 targetSdkVersion 28 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 'com.android.support:appcompat-v7:28.0.0' 50 compile 'com.android.support:support-v13:28.0.0' 51 52} 53