Snippets

Muhammed Ballan Libraries used by me: Recommended for any project gonna use material design for old android devices

Created by Muhammed Ballan
apply plugin: 'com.android.application'

android {
    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/license.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/NOTICE.txt'
        exclude 'META-INF/notice.txt'
        exclude 'META-INF/ASL2.0'
        exclude 'META-INF/services/javax.annotation.processing.Processor'
    }
    compileSdkVersion 23
    buildToolsVersion "23.0.0"
    defaultConfig {
        applicationId "com.mbh.islamic"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 11
        versionName "1.2"
    }
    lintOptions {
        disable 'InvalidPackage'
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}


// LeakCanary for debugging app in order to find Memory Leaks
//debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
//releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1'
dependencies {
    provided 'org.glassfish:javax.annotation:10.0-b28'          // For Serialization tag
    compile 'com.android.support:support-v4:23.0.1'             // Support Library for page viewer and fragments
    compile 'com.android.support:appcompat-v7:23.0.1'           // Support Library for material design
    compile 'com.android.support:cardview-v7:23.0.1'            // Support Library for card view
    compile 'com.android.support:recyclerview-v7:23.0.1'        // Support Library for lists
    compile 'com.jakewharton:butterknife:7.0.1'                 // Connecting XML UI to variables
    compile 'com.squareup.picasso:picasso:2.5.2'                // Picasso for downloading images
    compile 'com.google.code.gson:gson:2.3'                     // For serializing and json parsing
    compile 'com.squareup.retrofit:retrofit:1.9.0'              // for dealing with json interfaces
    compile 'com.afollestad:material-dialogs:0.7.8.1'           // For material dialogs
    compile 'com.jpardogo.materialtabstrip:library:1.1.0'       // For material tabs
    compile 'com.melnykov:floatingactionbutton:1.3.0'           // Floating Button
    compile 'com.code-troopers.betterpickers:library:2.0.0'     // Number picker
    compile 'com.loopj.android:android-async-http:1.4.9'        // uploader (Multipart files to wcf webservice)
    compile 'com.squareup.okhttp:okhttp:2.5.0'                  // for assigning client to retrofit, in order to set up time out
    compile 'com.facebook.fresco:fresco:0.7.0+'                 // For cashing, downloading, and zoomable images
}

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.