1/* 2 * Copyright (C) 2017 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 17apply plugin: 'com.android.application' 18 19ext { 20 supportLibraryVersion = '25.1.0' 21} 22 23android { 24 compileSdkVersion 25 25 buildToolsVersion '25.0.2' 26 27 defaultConfig { 28 applicationId 'com.example.android.effectivenavigation' 29 minSdkVersion 9 30 targetSdkVersion 25 31 versionCode 2 32 versionName '2.0' 33 testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' 34 } 35 36 buildTypes { 37 release { 38 minifyEnabled false 39 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 40 } 41 } 42 43 configurations.all { 44 resolutionStrategy.force "com.android.support:support-annotations:$supportLibraryVersion" 45 } 46} 47 48dependencies { 49 compile "com.android.support:design:$supportLibraryVersion" 50 androidTestCompile 'junit:junit:4.12' 51 androidTestCompile 'com.android.support.test:runner:0.5' 52 androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2' 53} 54