build.gradle 851 B

1234567891011121314151617181920212223242526272829303132333435
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 27
  4. defaultConfig {
  5. minSdkVersion 15
  6. targetSdkVersion 27
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled true
  14. zipAlignEnabled true
  15. // shrinkResources true
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
  17. }
  18. }
  19. }
  20. dependencies {
  21. implementation fileTree(include: ['*.jar'], dir: 'libs')
  22. implementation 'androidx.appcompat:appcompat:1.0.0'
  23. // testImplementation 'junit:junit:4.12'
  24. // androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  25. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
  26. }