MrViSiOn

Graddle

Jun 26th, 2017
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. /*
  2. * Copyright (c) 2016, salesforce.com, inc.
  3. * All rights reserved.
  4. * Licensed under the BSD 3-Clause license.
  5. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
  6. */
  7. apply plugin: 'com.android.application'
  8. apply plugin: 'com.jakewharton.hugo'
  9.  
  10. android {
  11. /* Change these to fit your applications requirements! */
  12. /* 01 release brings support for android 23 (Marshmallow) */
  13. compileSdkVersion 23
  14. buildToolsVersion = '25.0.0'
  15.  
  16. defaultConfig {
  17. applicationId "es.practicalmarketinge.push"
  18. minSdkVersion 16
  19. // MIN SDK for use with ETPush is 15, but this app uses 16 for maps compatibility
  20. targetSdkVersion 23
  21. versionCode 1
  22. versionName "1.0"
  23. }
  24.  
  25. buildTypes {
  26. release {
  27. minifyEnabled true
  28. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  29. }
  30.  
  31. }
  32. }
  33.  
  34. dependencies {
  35. /* SDK */
  36. compile('com.exacttarget.etpushsdk:etsdk:4.7.1@aar') {
  37. //exclude module: 'android-beacon-library'
  38. transitive = true;
  39. changing = true
  40. }
  41.  
  42. compile 'com.google.android.gms:play-services-maps:9.2.0'
  43.  
  44. // This particular app, requires appCompat and design
  45. compile 'com.android.support:appcompat-v7:23.1.0'
  46. compile 'com.android.support:design:23.1.1'
  47.  
  48. /* Google's Support v4 for Notification compatibility */
  49. compile 'com.android.support:support-v4:23.1.0'
  50. compile 'com.android.support:design:23.1.0'
  51.  
  52. /* SDK */
  53. compile 'com.exacttarget.etpushsdk:etsdk:4.0.6@aar'
  54.  
  55. /* Google Play Services for Location and Google Cloud Messaging */
  56. compile 'com.google.android.gms:play-services-location:9.2.0'
  57. compile 'com.google.android.gms:play-services-gcm:9.2.0'
  58.  
  59. compile 'com.google.firebase:firebase-messaging:9.2.0'
  60.  
  61. /* 3rd Party Libraries Required for SDK integration */
  62. compile 'com.radiusnetworks:AndroidIBeaconLibrary:0.7.6'
  63.  
  64. /*
  65. If you're implementing our SDK and do not need
  66. custom versions of:
  67. support
  68. design
  69. play-services-location
  70. play-services-gcm
  71.  
  72. You can utilize the transitive = true gradle
  73. directive to automatically pull in the needed
  74. libraries at the needed versions for the SDK
  75. to properly function.
  76.  
  77. Otherwise, include them manually specifying
  78. the version(s) you require.
  79.  
  80. //* Google's Support v4 for Notification compatibility
  81. compile 'com.android.support:appcompat-v7:23.1.1'
  82. compile 'com.android.support:support-v4:23.1.1'
  83. compile 'com.android.support:design:23.1.1'
  84.  
  85. //* Google Play Services for Location and Google Cloud Messaging
  86. compile 'com.google.android.gms:play-services-location:8.1.0'
  87. compile 'com.google.android.gms:play-services-gcm:8.1.0'
  88.  
  89. //* 3rd Party Libraries Required for SDK integration
  90. compile 'org.altbeacon:android-beacon-library:2.5.1@aar'
  91. */
  92.  
  93. }
  94.  
  95. apply plugin: 'com.google.gms.google-services'
Advertisement
Add Comment
Please, Sign In to add comment