first commit
This commit is contained in:
31
FastBleLib/build.gradle
Normal file
31
FastBleLib/build.gradle
Normal file
@@ -0,0 +1,31 @@
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
android {
|
||||
compileSdkVersion 31
|
||||
// buildToolsVersion "30.0.3"
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 31
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
namespace 'com.clj.fastble'
|
||||
}
|
||||
|
||||
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)
|
||||
Reference in New Issue
Block a user