|
| 1 | +/* |
| 2 | + * Copyright (C) 2019 Google Inc. |
| 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 | + |
| 17 | +apply plugin: 'com.android.application' |
| 18 | +apply plugin: 'kotlin-android' |
| 19 | +apply plugin: 'kotlin-kapt' |
| 20 | + |
| 21 | +android { |
| 22 | + compileSdkVersion 29 |
| 23 | + defaultConfig { |
| 24 | + applicationId "com.example.android.eggtimernotifications" |
| 25 | + minSdkVersion 19 |
| 26 | + targetSdkVersion 29 |
| 27 | + versionCode 1 |
| 28 | + versionName "1.0" |
| 29 | + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| 30 | + } |
| 31 | + buildTypes { |
| 32 | + release { |
| 33 | + minifyEnabled false |
| 34 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 35 | + } |
| 36 | + } |
| 37 | + |
| 38 | + // Enables data binding. |
| 39 | + dataBinding { |
| 40 | + enabled = true |
| 41 | + } |
| 42 | +} |
| 43 | + |
| 44 | +dependencies { |
| 45 | + implementation fileTree(dir: 'libs', include: ['*.jar']) |
| 46 | + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" |
| 47 | + implementation 'androidx.appcompat:appcompat:1.0.2' |
| 48 | + implementation 'androidx.core:core-ktx:1.0.2' |
| 49 | + implementation 'androidx.constraintlayout:constraintlayout:1.1.3' |
| 50 | + |
| 51 | + implementation 'androidx.legacy:legacy-support-v4:1.0.0' |
| 52 | + implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0-rc01' |
| 53 | + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0-rc01' |
| 54 | + testImplementation 'junit:junit:4.12' |
| 55 | + androidTestImplementation 'androidx.test:runner:1.2.0' |
| 56 | + androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' |
| 57 | + |
| 58 | + //for fcm |
| 59 | + implementation 'com.google.firebase:firebase-core:17.0.0' |
| 60 | + implementation 'com.google.firebase:firebase-iid:19.0.1' |
| 61 | + implementation 'com.google.firebase:firebase-messaging:19.0.1' |
| 62 | + implementation 'android.arch.work:work-runtime:1.0.1' |
| 63 | +} |
0 commit comments