37 lines
1.1 KiB
Groovy
37 lines
1.1 KiB
Groovy
|
apply plugin: 'com.android.library'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
||
|
buildToolsVersion 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_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation rootProject.ext.dependencies["appcompat-androidx"]
|
||
|
|
||
|
//谷歌内购
|
||
|
api 'com.android.billingclient:billing:5.0.0'
|
||
|
//谷歌登录
|
||
|
api 'com.google.android.gms:play-services-auth:15.0.0'
|
||
|
api 'com.google.android.gms:play-services-ads-identifier:15.0.1'
|
||
|
api 'com.google.firebase:firebase-messaging:23.0.6'
|
||
|
}
|