33 lines
940 B
Groovy
33 lines
940 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
namespace "com.shayu.lib_huawei"
|
|
compileSdk rootProject.ext.android.compileSdkVersion
|
|
targetSdk rootProject.ext.android.buildToolsVersion
|
|
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 {
|
|
sourceCompatibility JavaVersion.VERSION_18
|
|
targetCompatibility JavaVersion.VERSION_18
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation rootProject.ext.dependencies["appcompat-androidx"]
|
|
|
|
api 'com.huawei.hms:iap:4.0.4.301'
|
|
} |