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
17buildscript {
18    ext {
19        kotlin_version = '1.3.11'
20    }
21    repositories {
22        jcenter()
23    }
24    dependencies {
25        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
26    }
27}
28
29apply plugin: 'com.android.application'
30apply plugin: 'kotlin-android'
31
32android {
33    compileSdkVersion 28
34    defaultConfig {
35        applicationId "com.example.android.emojicompat"
36        minSdkVersion 19
37        targetSdkVersion 28
38        versionCode 1
39        versionName "1.0"
40        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
41    }
42    buildTypes {
43        release {
44            minifyEnabled false
45            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
46        }
47    }
48}
49
50dependencies {
51    // Support Libraries
52    implementation 'androidx.appcompat:appcompat:1.0.2'
53    implementation 'androidx.emoji:emoji:1.0.0'
54    implementation 'androidx.emoji:emoji-appcompat:1.0.0'
55    implementation 'androidx.emoji:emoji-bundled:1.0.0'
56    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
57
58    // Test
59    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
60    androidTestImplementation "androidx.test.espresso:espresso-intents:3.1.1"
61
62    testImplementation 'junit:junit:4.12'
63}
64