Android build.gradle

android

{
    compileSdkVersion 23
    buildToolsVersion "23.0.3"

    defaultConfig {
        applicationId "com.wangjia.xxx"
        minSdkVersion 10
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    signingConfigs {
        mybuild {
            Properties properties = new Properties()
            properties.load(project.rootProject.file('local.properties').newDataInputStream())
            def sdkDir = properties.getProperty('signing.debug.key')
            storeFile file(sdkDir)
            storePassword "xxxstorepwd"
            keyAlias "xxx"
            keyPassword "xxxkeypwd"
        }
    }
    buildTypes {
        debug {
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.mybuild
        }
        release {
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.mybuild
            minifyEnabled false
        }
    }
}

dependencies

{ compile fileTree(include: ['*.jar'], dir: 'libs')
  //----- Support Libs
  compile 'com.android.support:appcompat-v7:23.3.0'
  compile "com.android.support:design:23.3.0"
  compile "com.android.support:recyclerview-v7:23.3.0"
  compile "com.android.support:cardview-v7:23.3.0"

  //----- EventBus
  compile 'org.greenrobot:eventbus:3.0.0'

  //----- Retrofit
  compile 'com.squareup.retrofit2:retrofit:2.0.0'
  compile "com.squareup.retrofit2:converter-gson:2.0.0"
  compile "com.squareup.retrofit2:adapter-rxjava:2.0.0"
  compile 'com.squareup.okhttp3:logging-interceptor:3.0.1'

  //----- Butterknife
  compile "com.jakewharton:butterknife:7.0.1"

  //----- Loggin
  compile 'com.github.zhaokaiqiang.klog:library:1.3.0'

  //----- Picasso
  compile 'com.squareup.picasso:picasso:2.5.2'
  
 
   //glide
  compile 'com.github.bumptech.glide:glide:3.7.0'
  
  //db
  compile 'com.github.orhanobut:hawk:1.23'

  //json
  compile 'com.google.code.gson:gson:2.4'
  
  //----- Annotations
  compile 'org.glassfish:javax.annotation:10.0-b28'

  //----- Rating
  compile 'com.github.hotchemi:android-rate:0.5.6'

  //----- Testing
  androidTestCompile 'com.android.support:support-annotations:23.3.0'
  androidTestCompile 'com.android.support.test:runner:0.4.1'
  androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1'
  androidTestCompile 'org.hamcrest:hamcrest-integration:1.3'
}
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
  • 序言:七十年代末语稠,一起剝皮案震驚了整個濱河市容为,隨后出現的幾起案子,更是在濱河造成了極大的恐慌批狱,老刑警劉巖,帶你破解...
    沈念sama閱讀 216,843評論 6 502
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件儒洛,死亡現場離奇詭異精耐,居然都是意外死亡狼速,警方通過查閱死者的電腦和手機琅锻,發(fā)現死者居然都...
    沈念sama閱讀 92,538評論 3 392
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來向胡,“玉大人恼蓬,你說我怎么就攤上這事〗┣郏” “怎么了处硬?”我有些...
    開封第一講書人閱讀 163,187評論 0 353
  • 文/不壞的土叔 我叫張陵,是天一觀的道長拇派。 經常有香客問我荷辕,道長,這世上最難降的妖魔是什么件豌? 我笑而不...
    開封第一講書人閱讀 58,264評論 1 292
  • 正文 為了忘掉前任疮方,我火速辦了婚禮,結果婚禮上茧彤,老公的妹妹穿的比我還像新娘骡显。我一直安慰自己,他們只是感情好曾掂,可當我...
    茶點故事閱讀 67,289評論 6 390
  • 文/花漫 我一把揭開白布惫谤。 她就那樣靜靜地躺著,像睡著了一般珠洗。 火紅的嫁衣襯著肌膚如雪溜歪。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 51,231評論 1 299
  • 那天许蓖,我揣著相機與錄音蝴猪,去河邊找鬼。 笑死蛔糯,一個胖子當著我的面吹牛拯腮,可吹牛的內容都是我干的。 我是一名探鬼主播蚁飒,決...
    沈念sama閱讀 40,116評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼动壤,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了淮逻?” 一聲冷哼從身側響起琼懊,我...
    開封第一講書人閱讀 38,945評論 0 275
  • 序言:老撾萬榮一對情侶失蹤阁簸,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后哼丈,有當地人在樹林里發(fā)現了一具尸體启妹,經...
    沈念sama閱讀 45,367評論 1 313
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內容為張勛視角 年9月15日...
    茶點故事閱讀 37,581評論 2 333
  • 正文 我和宋清朗相戀三年醉旦,在試婚紗的時候發(fā)現自己被綠了饶米。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 39,754評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡车胡,死狀恐怖檬输,靈堂內的尸體忽然破棺而出,到底是詐尸還是另有隱情匈棘,我是刑警寧澤丧慈,帶...
    沈念sama閱讀 35,458評論 5 344
  • 正文 年R本政府宣布,位于F島的核電站主卫,受9級特大地震影響逃默,放射性物質發(fā)生泄漏。R本人自食惡果不足惜簇搅,卻給世界環(huán)境...
    茶點故事閱讀 41,068評論 3 327
  • 文/蒙蒙 一完域、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧馍资,春花似錦筒主、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,692評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至建钥,卻和暖如春藤韵,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背熊经。 一陣腳步聲響...
    開封第一講書人閱讀 32,842評論 1 269
  • 我被黑心中介騙來泰國打工泽艘, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人镐依。 一個月前我還...
    沈念sama閱讀 47,797評論 2 369
  • 正文 我出身青樓匹涮,卻偏偏與公主長得像,于是被迫代替她去往敵國和親槐壳。 傳聞我的和親對象是個殘疾皇子然低,可洞房花燭夜當晚...
    茶點故事閱讀 44,654評論 2 354

推薦閱讀更多精彩內容