build.gradle 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 23
  4. buildToolsVersion "25.0.2"
  5. defaultConfig {
  6. applicationId "test.logan.dianping.com.logan"
  7. minSdkVersion 14
  8. targetSdkVersion 23
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled true
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. dependencies {
  21. compile fileTree(dir: 'libs', include: ['*.jar'])
  22. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  23. exclude group: 'com.android.support', module: 'support-annotations'
  24. })
  25. testCompile 'junit:junit:4.12'
  26. compile project(':logan')
  27. // compile 'com.dianping.android.sdk:logan:1.1.0'
  28. // releaseCompile project(path: ':logan', configuration: 'release')
  29. // debugCompile project(path: ':logan', configuration: 'debug')
  30. }