2023-11-27 17:12:27 +08:00
|
|
|
apply plugin: 'com.android.library'
|
2024-06-20 14:02:15 +08:00
|
|
|
apply from: "../package_config.gradle"
|
2023-11-27 17:12:27 +08:00
|
|
|
|
|
|
|
android {
|
2024-07-13 10:37:37 +08:00
|
|
|
namespace "com.shayu.lib_google"
|
|
|
|
compileSdk rootProject.ext.android.compileSdkVersion
|
2023-11-27 17:12:27 +08:00
|
|
|
defaultConfig {
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
2024-07-13 10:37:37 +08:00
|
|
|
minSdkVersion rootProject.ext.android.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
|
|
|
versionCode rootProject.ext.android.versionCode
|
|
|
|
versionName rootProject.ext.android.versionName
|
2023-11-27 17:12:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
2024-08-30 10:28:57 +08:00
|
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
|
|
targetCompatibility JavaVersion.VERSION_17
|
2023-11-27 17:12:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation rootProject.ext.dependencies["appcompat-androidx"]
|
|
|
|
|
|
|
|
//谷歌内购
|
2024-07-13 10:37:37 +08:00
|
|
|
api 'com.android.billingclient:billing:7.0.0'
|
2023-11-27 17:12:27 +08:00
|
|
|
//谷歌登录
|
|
|
|
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'
|
2023-11-28 18:28:47 +08:00
|
|
|
api 'cn.rongcloud.sdk:sight:5.2.5.4'
|
2024-02-16 10:34:10 +08:00
|
|
|
|
|
|
|
implementation platform('com.google.firebase:firebase-bom:30.5.0')
|
|
|
|
implementation 'com.google.firebase:firebase-crashlytics'
|
2024-07-13 10:37:37 +08:00
|
|
|
api 'com.google.firebase:firebase-analytics:21.1.0'
|
2024-02-16 10:34:10 +08:00
|
|
|
|
|
|
|
//implementation platform('com.google.firebase:firebase-bom:30.5.0')
|
|
|
|
//implementation 'com.google.firebase:firebase-crashlytics'
|
|
|
|
|
2023-11-27 17:12:27 +08:00
|
|
|
}
|