Guest User

Untitled

a guest
Oct 21st, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2.  
  3. buildscript {
  4.  
  5. repositories {
  6. mavenCentral()
  7. google()
  8. jcenter()
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:3.2.1'
  12.  
  13.  
  14. // NOTE: Do not place your application dependencies here; they belong
  15. // in the individual module build.gradle files
  16. }
  17. }
  18.  
  19. allprojects {
  20. repositories {
  21. mavenCentral()
  22. google()
  23. jcenter()
  24. maven { url "https://jitpack.io" }
  25. }
  26. }
  27.  
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }
  31.  
  32. apply plugin: 'com.android.application'
  33.  
  34. android {
  35. compileSdkVersion 26
  36. defaultConfig {
  37. applicationId "com.example.x.z"
  38. minSdkVersion 26
  39. targetSdkVersion 26
  40. versionCode 1
  41. versionName "1.0"
  42. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  43. renderscriptTargetApi 26
  44. renderscriptSupportModeEnabled true
  45. }
  46. buildTypes {
  47. release {
  48. minifyEnabled false
  49. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  50. }
  51. }
  52. }
  53.  
  54. dependencies {
  55. implementation fileTree(dir: 'libs', include: ['*.jar'])
  56. implementation 'com.android.support:cardview-v7:26.1.1'
  57. implementation 'com.android.support:appcompat-v7:26.1.1'
  58. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  59. implementation 'com.android.support:support-v4:26.1.1'
  60. implementation 'com.android.support:design:26.1.1'
  61. testImplementation 'junit:junit:4.12'
  62. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  63. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  64.  
  65. implementation 'com.github.mancj:MaterialSearchBar:0.7.6'
  66. }
Add Comment
Please, Sign In to add comment