build.gradle 889 B

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'com.github.dcendents.android-maven'
  3. group = 'com.github.BenYanYi'
  4. android {
  5. compileSdkVersion 26
  6. defaultConfig {
  7. minSdkVersion 15
  8. targetSdkVersion 26
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. dependencies {
  21. implementation fileTree(dir: 'libs', include: ['*.jar'])
  22. implementation 'com.android.support:appcompat-v7:26.1.0'
  23. testImplementation 'junit:junit:4.12'
  24. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  25. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  26. }