2024-02-23 16:07:50 +08:00
|
|
|
apply plugin: 'com.android.library'
|
2024-06-20 18:04:54 +08:00
|
|
|
apply from: "../package_config.gradle"
|
2024-02-23 16:07:50 +08:00
|
|
|
|
|
|
|
android {
|
2024-06-20 18:04:54 +08:00
|
|
|
namespace "com.yunbao.huawei"
|
|
|
|
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.ext.android.buildToolsVersion
|
2024-02-23 16:07:50 +08:00
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion minSdkVersion
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
|
|
versionCode versionCode
|
|
|
|
versionName versionName
|
|
|
|
targetSdkVersion targetSdkVersion
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
2024-06-20 18:04:54 +08:00
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
2024-02-23 16:07:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation rootProject.ext.dependencies["appcompat-androidx"]
|
|
|
|
|
|
|
|
api 'com.huawei.hms:iap:4.0.4.301'
|
|
|
|
}
|