apply plugin: 'com.android.library'
|
//**APPLY_PLUGINS**
|
apply from: 'deps.gradle'
|
|
dependencies {
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation(name: 'ald_v', ext: 'aar') //x.x.x为具体版本
|
//SDK基础能力
|
implementation 'com.appsflyer:af-android-sdk:6.9.0'
|
implementation 'com.android.installreferrer:installreferrer:2.2'
|
api 'androidx.annotation:annotation:1.5.0'
|
api 'androidx.core:core:1.6.0'
|
api 'androidx.percentlayout:percentlayout:1.0.0'
|
//google ID
|
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
|
//firebase
|
implementation 'com.google.firebase:firebase-analytics'
|
implementation platform('com.google.firebase:firebase-bom:31.2.2') {
|
exclude group: 'com.android.support', module: 'support-compat'
|
}
|
//base theme
|
api 'androidx.appcompat:appcompat:1.2.0'
|
//ald ui用
|
api 'androidx.cardview:cardview:1.0.0'
|
|
//谷歌能力
|
implementation 'com.google.android.gms:play-services-auth:20.1.0' //google服务
|
implementation("com.android.billingclient:billing:5.0.0") // google内购
|
implementation 'androidx.percentlayout:percentlayout:1.0.0' //google提供的支持库
|
implementation 'com.google.android.play:review:2.0.1' //google评价
|
|
//facebook能力
|
implementation 'com.facebook.android:facebook-login:latest.release'
|
implementation 'com.facebook.android:facebook-share:latest.release'
|
**DEPS**}
|
|
android {
|
compileSdkVersion **APIVERSION**
|
buildToolsVersion '33.0.0'
|
|
compileOptions {
|
sourceCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
}
|
|
packagingOptions {exclude 'META-INF/rxjava.properties'}
|
|
defaultConfig {
|
minSdkVersion **MINSDKVERSION**
|
targetSdkVersion **TARGETSDKVERSION**
|
ndk {
|
abiFilters **ABIFILTERS**
|
}
|
versionCode **VERSIONCODE**
|
versionName '**VERSIONNAME**'
|
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
|
}
|
|
lintOptions {
|
abortOnError false
|
checkReleaseBuilds false
|
}
|
|
aaptOptions {
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
|
}**PACKAGING_OPTIONS**
|
}**REPOSITORIES****SOURCE_BUILD_SETUP**
|
**EXTERNAL_SOURCES**
|