build.gradle 864 B

12345678910111213141516171819202122232425262728293031
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion rootProject.ext.compileSdkVersion
  4. buildToolsVersion rootProject.ext.buildToolsVersion
  5. lintOptions {
  6. checkReleaseBuilds false
  7. abortOnError false
  8. }
  9. defaultConfig {
  10. minSdkVersion rootProject.ext.minSdkVersion
  11. targetSdkVersion rootProject.ext.targetSdkVersion
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }}
  19. dependencies {
  20. implementation fileTree(dir: 'libs', include: ['*.jar'])
  21. }
  22. //task makeAAR(type: Copy) {
  23. // from('build/outputs/aar/')
  24. // into('build/aarFloder/')
  25. // include('FastBleLib-release.aar')
  26. // rename ('FastBleLib-release.aar', 'FastBLE-2.4.0.aar' )
  27. //}
  28. //makeAAR.dependsOn(build)