1*d353a188SXin Li/* 2*d353a188SXin Li * Copyright (C) 2017 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 Liapply plugin: 'com.android.application' 18*d353a188SXin Li 19*d353a188SXin Liext { 20*d353a188SXin Li supportLibVersion = '26.0.0' 21*d353a188SXin Li} 22*d353a188SXin Li 23*d353a188SXin Liandroid { 24*d353a188SXin Li compileSdkVersion 26 25*d353a188SXin Li buildToolsVersion "26.0.0" 26*d353a188SXin Li defaultConfig { 27*d353a188SXin Li applicationId "com.example.android.emojicompat" 28*d353a188SXin Li minSdkVersion 19 29*d353a188SXin Li targetSdkVersion 26 30*d353a188SXin Li versionCode 1 31*d353a188SXin Li versionName "1.0" 32*d353a188SXin Li testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 33*d353a188SXin Li } 34*d353a188SXin Li buildTypes { 35*d353a188SXin Li release { 36*d353a188SXin Li minifyEnabled false 37*d353a188SXin Li proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 38*d353a188SXin Li } 39*d353a188SXin Li } 40*d353a188SXin Li configurations.all { 41*d353a188SXin Li resolutionStrategy.force "com.android.support:support-annotations:$supportLibVersion" 42*d353a188SXin Li } 43*d353a188SXin Li} 44*d353a188SXin Li 45*d353a188SXin Lidependencies { 46*d353a188SXin Li // Support Libraries 47*d353a188SXin Li compile "com.android.support:appcompat-v7:$supportLibVersion" 48*d353a188SXin Li compile "com.android.support:support-emoji:$supportLibVersion" 49*d353a188SXin Li compile "com.android.support:support-emoji-appcompat:$supportLibVersion" 50*d353a188SXin Li compile "com.android.support:support-emoji-bundled:$supportLibVersion" 51*d353a188SXin Li 52*d353a188SXin Li // Test 53*d353a188SXin Li testCompile 'junit:junit:4.12' 54*d353a188SXin Li androidTestCompile 'com.androidx.test.espresso:espresso-core:3.0.0' 55*d353a188SXin Li} 56