You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

42 lines
1.5 KiB

apply plugin: 'com.android.library'
android {
namespace 'com.techscan.bluetoothprintlib'
compileSdk rootProject.ext.version.compileSdkVersion
defaultConfig {
minSdk rootProject.ext.version.minSdkVersion
targetSdk rootProject.ext.version.targetSdkVersion
versionCode rootProject.ext.version.versionCode
versionName rootProject.ext.version.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
//minifyEnabled true //是否开启混淆,其实子模块中这个已经没有作用了,由主模块控制
consumerProguardFiles 'proguard-rules.pro' //子模块要用这个命令才能生效
}
debug {
//测试混淆用
consumerProguardFiles 'proguard-rules.pro' //子模块要用这个命令才能生效
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}
dependencies {
implementation(rootProject.ext.libsDependency.appcompat)
implementation(rootProject.ext.libsDependency.material)
implementation(rootProject.ext.libsDependency.constraintlayout)
implementation(rootProject.ext.libsDependency.junit)
implementation(rootProject.ext.libsDependency.ext_junit)
implementation(rootProject.ext.libsDependency.espresso_core)
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'com.google.code.gson:gson:2.10.1'
}