build.gradle 758 B

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'com.github.dcendents.android-maven'
  3. group = 'com.github.pedroSG94'
  4. android {
  5. compileSdkVersion 27
  6. buildToolsVersion "27.0.3"
  7. defaultConfig {
  8. minSdkVersion 9
  9. targetSdkVersion 27
  10. versionCode 1
  11. versionName "2.5.14"
  12. sourceSets.main {
  13. jni.srcDirs = []
  14. jniLibs.srcDir "src/main/jniLibs"
  15. }
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. compileOptions {
  24. sourceCompatibility JavaVersion.VERSION_1_7
  25. targetCompatibility JavaVersion.VERSION_1_7
  26. }
  27. }
  28. dependencies {
  29. implementation "com.android.support:support-annotations:${supportLibVersion}"
  30. }