32 lines
817 B
Groovy
32 lines
817 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
|
|
defaultConfig {
|
|
minSdkVersion 15
|
|
targetSdkVersion 33
|
|
vectorDrawables.useSupportLibrary = true
|
|
// 库模块自身不开启混淆,输出的规则传递给依赖本库的 App
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
// 库模块自身不混淆:产出的 AAR 必须是原始类
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
namespace 'com.easysocket'
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'com.google.code.gson:gson:2.13.2'
|
|
}
|
|
|
|
sourceCompatibility = "7"
|
|
targetCompatibility = "7"
|