build.gradle 698 B

123456789101112131415161718192021222324252627282930313233
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. minSdkVersion 16
  6. targetSdkVersion 28
  7. versionCode 1
  8. versionName "1.0"
  9. consumerProguardFiles "consumer-rules.pro"
  10. }
  11. lintOptions {
  12. checkReleaseBuilds false
  13. abortOnError false
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. }
  22. dependencies {
  23. implementation fileTree(dir: "libs", include: ["*.jar"])
  24. implementation 'androidx.appcompat:appcompat:1.2.0'
  25. api project(path: ':mylibrary')
  26. }