39 lines
1.2 KiB
Groovy
39 lines
1.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply from: "../package_config.gradle"
|
|
|
|
android {
|
|
namespace "com.shayu.lib_xiaomi_pay"
|
|
compileSdk rootProject.ext.android.compileSdkVersion
|
|
defaultConfig {
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
minSdkVersion rootProject.ext.android.minSdkVersion
|
|
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
|
versionCode rootProject.ext.android.versionCode
|
|
versionName rootProject.ext.android.versionName
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_18
|
|
targetCompatibility JavaVersion.VERSION_18
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation rootProject.ext.dependencies["appcompat-androidx"]
|
|
|
|
//谷歌内购
|
|
api ' implementation "com.xiaomi.billingclient:billing:1.1.3"'
|
|
implementation 'com.android.billingclient:billing:7.1.0'
|
|
|
|
//implementation platform('com.google.firebase:firebase-bom:30.5.0')
|
|
//implementation 'com.google.firebase:firebase-crashlytics'
|
|
|
|
} |