pandorapan/lib_google/build.gradle

45 lines
1.5 KiB
Groovy
Raw Permalink Normal View History

2024-02-23 16:07:50 +08:00
apply plugin: 'com.android.library'
android {
2024-03-26 13:43:13 +08:00
namespace "com.shayu.lib_google"
compileSdk rootProject.ext.android.compileSdkVersion
2024-02-23 16:07:50 +08:00
defaultConfig {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
2024-03-26 13:43:13 +08:00
minSdkVersion rootProject.ext.android.minSdkVersion
targetSdkVersion rootProject.ext.android.targetSdkVersion
versionCode rootProject.ext.android.versionCode
versionName rootProject.ext.android.versionName
2024-02-23 16:07:50 +08:00
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
2024-03-26 13:43:13 +08:00
sourceCompatibility JavaVersion.VERSION_18
targetCompatibility JavaVersion.VERSION_18
2024-02-23 16:07:50 +08:00
}
}
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'
api 'cn.rongcloud.sdk:sight:5.2.5.4'
implementation platform('com.google.firebase:firebase-bom:30.5.0')
implementation 'com.google.firebase:firebase-crashlytics'
//implementation platform('com.google.firebase:firebase-bom:30.5.0')
//implementation 'com.google.firebase:firebase-crashlytics'
}