apply plugin: 'com.android.application'

android {

    dexOptions {
        javaMaxHeapSize "4g"
    }
    signingConfigs {
        config {
            keyAlias 'sailorcast'
            keyPassword '123456'
            storeFile file('../../sailorcast.jks')
            storePassword '123456'
        }
    }
    compileSdkVersion 21
    buildToolsVersion "22.0.1"
    defaultConfig {
        //multiDexEnabled = true
        applicationId "com.crixmod.sailorcast"
        minSdkVersion 15
        targetSdkVersion 21
        versionCode 14
        versionName "0.5.4"
        signingConfig signingConfigs.config
    }
    buildTypes {
        release {
            //debuggable true
            //minifyEnabled true
            //proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }

        debug{
        }
    }
    packagingOptions {
        exclude 'META-INF/beans.xml'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
        exclude 'LICENSE.txt'
    }
    productFlavors {
    }
}

repositories {
    maven {url "http://4thline.org/m2"}
    maven {url "https://raw.githubusercontent.com/umeng/mvn-repo-umeng/master/repository" }
}


dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
   // compile 'com.android.support:multidex:1.0.0'
    // Cling
    compile 'org.fourthline.cling:cling-core:2.0.1'
    compile 'org.fourthline.cling:cling-support:2.0.1'
    compile 'org.eclipse.jetty:jetty-server:8.1.12.v20130726'
    compile 'org.eclipse.jetty:jetty-servlet:8.1.12.v20130726'
    compile 'org.eclipse.jetty:jetty-client:8.1.12.v20130726'
    compile 'org.slf4j:slf4j-jdk14:1.7.5'
    compile 'commons-lang:commons-lang:2.6'
    compile 'com.google.code.gson:gson:2.2.4'
    compile 'com.squareup.picasso:picasso:2.4.0'
    compile 'com.squareup.okhttp:okhttp:2.1.0'
    compile 'com.squareup.okhttp:okhttp-urlconnection:2.1.0'
    //compile 'com.mcxiaoke.volley:library:1.0.19'
    compile 'com.nanohttpd:nanohttpd-webserver:2.1.1'
    compile 'com.android.support:support-v4:23.1.0'
    compile 'com.android.support:appcompat-v7:21.+'
    compile 'com.google.android.exoplayer:exoplayer:r1.5.5'
    compile 'com.umeng.analytics:analytics:latest.integration'
    compile 'com.umeng:fb:5.1.0'
    compile 'cn.pedant.sweetalert:library:1.3'
    compile project(':decapi')
    compile files('libs/umeng-update-v2.5.0.jar')
    compile 'com.google.android.gms:play-services-appindexing:8.1.0'
}
