Guest User

Untitled

a guest
Jan 22nd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.android.library'
  3. apply plugin: 'com.jakewharton.butterknife'
  4.  
  5. android {
  6. compileSdkVersion 28
  7. buildToolsVersion '28.0.3'
  8. defaultConfig {
  9. applicationId "com.udacity.sandwichclub"
  10. minSdkVersion 16
  11. targetSdkVersion 26
  12. versionCode 1
  13. versionName "1.0"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. }
  22.  
  23. repositories {
  24. google()
  25. }
  26.  
  27. dependencies {
  28. implementation 'com.android.support.constraint:constraint-layout:1.0.2'
  29. implementation fileTree(dir: 'libs', include: ['*.jar'])
  30. implementation 'com.android.support:appcompat-v7:28.0.0'
  31.  
  32. implementation 'com.squareup.picasso:picasso:2.5.2'
  33. implementation 'com.android.support:recyclerview-v7:28.0.0'
  34.  
  35. //butterknife
  36. implementation 'com.jakewharton:butterknife:10.0.0'
  37. annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
  38. }
  39.  
  40. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  41.  
  42. buildscript {
  43. repositories {
  44. jcenter()
  45. maven {
  46. url 'https://maven.google.com/'
  47. name 'Google'
  48. }
  49. google()
  50. }
  51. dependencies {
  52. classpath 'com.android.tools.build:gradle:3.3.0'
  53. classpath 'com.jakewharton:butterknife-gradle-plugin:10.0.0'
  54.  
  55. // NOTE: Do not place your application dependencies here; they belong
  56. // in the individual module build.gradle files
  57. }
  58. }
  59.  
  60. allprojects {
  61. repositories {
  62. jcenter()
  63. google()
  64. }
  65. }
  66.  
  67. task clean(type: Delete) {
  68. delete rootProject.buildDir
  69. }
Add Comment
Please, Sign In to add comment