build.gradle 1010 B

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'com.github.dcendents.android-maven'
  3. group = 'com.github.jiangdongguo'
  4. android {
  5. compileSdkVersion 26
  6. buildToolsVersion '26.0.2'
  7. defaultConfig {
  8. minSdkVersion 16
  9. targetSdkVersion 26
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. }
  21. dependencies {
  22. compile fileTree(dir: 'libs', include: ['*.jar'])
  23. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  24. exclude group: 'com.android.support', module: 'support-annotations'
  25. })
  26. compile 'com.android.support:appcompat-v7:26.1.0'
  27. testCompile 'junit:junit:4.12'
  28. compile("com.serenegiant:common:${commonLibVersion}") {
  29. exclude module: 'support-v4'
  30. }
  31. }