You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. plugins {
  2. id 'com.android.application'
  3. id 'com.google.gms.google-services'
  4. }
  5. android {
  6. compileSdkVersion 29
  7. buildToolsVersion "29.0.3"
  8. defaultConfig {
  9. applicationId "com.example.fcm"
  10. minSdkVersion 16
  11. targetSdkVersion 29
  12. versionCode 1
  13. versionName "1.0"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. viewBinding {
  27. enabled = true
  28. }
  29. }
  30. dependencies {
  31. implementation 'androidx.appcompat:appcompat:1.1.0'
  32. implementation 'com.google.android.material:material:1.1.0'
  33. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  34. implementation 'com.google.firebase:firebase-messaging:20.2.0'
  35. implementation 'android.arch.work:work-runtime:2.0.1-rc01'
  36. implementation 'com.google.firebase:firebase-database:19.3.0'
  37. implementation 'com.firebase:firebase-client-android:2.5.0'
  38. implementation 'com.android.volley:volley:1.1.0'
  39. testImplementation 'junit:junit:4.12'
  40. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  41. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  42. }
  43. apply plugin: 'com.google.gms.google-services'