Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'com.android.application'
- apply plugin: 'com.android.library'
- apply plugin: 'com.jakewharton.butterknife'
- android {
- compileSdkVersion 28
- buildToolsVersion '28.0.3'
- defaultConfig {
- applicationId "com.udacity.sandwichclub"
- minSdkVersion 16
- targetSdkVersion 26
- versionCode 1
- versionName "1.0"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- repositories {
- google()
- }
- dependencies {
- implementation 'com.android.support.constraint:constraint-layout:1.0.2'
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'com.android.support:appcompat-v7:28.0.0'
- implementation 'com.squareup.picasso:picasso:2.5.2'
- implementation 'com.android.support:recyclerview-v7:28.0.0'
- //butterknife
- implementation 'com.jakewharton:butterknife:10.0.0'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
- }
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- jcenter()
- maven {
- url 'https://maven.google.com/'
- name 'Google'
- }
- google()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.3.0'
- classpath 'com.jakewharton:butterknife-gradle-plugin:10.0.0'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- repositories {
- jcenter()
- google()
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
Add Comment
Please, Sign In to add comment