12345678910111213141516171819202122232425262728293031 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion rootProject.ext.compileSdkVersion
- buildToolsVersion rootProject.ext.buildToolsVersion
- lintOptions {
- checkReleaseBuilds false
- abortOnError false
- }
- defaultConfig {
- minSdkVersion rootProject.ext.minSdkVersion
- targetSdkVersion rootProject.ext.targetSdkVersion
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }}
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- }
- //task makeAAR(type: Copy) {
- // from('build/outputs/aar/')
- // into('build/aarFloder/')
- // include('FastBleLib-release.aar')
- // rename ('FastBleLib-release.aar', 'FastBLE-2.4.0.aar' )
- //}
- //makeAAR.dependsOn(build)
|