apply plugin: 'com.android.library'
|
**APPLY_PLUGINS**
|
|
dependencies {
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation(name: 'ald_v', ext: 'aar') //x.x.xΪ¾ßÌå°æ±¾
|
//SDK»ù´¡ÄÜÁ¦
|
implementation 'com.appsflyer:af-android-sdk:6.14.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 'com.google.firebase:firebase-crashlytics'
|
// implementation 'com.google.firebase:firebase-messaging' //²»¼ÓÁËlog»á±¨FirebaseMessagingServiceȱʧÌáʾ£¬µ«ÊDz¢²»Ó°ÏìÉϱ¨
|
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('androidx.browser:browser:1.5.0')
|
|
|
//¹È¸èÄÜÁ¦
|
implementation 'com.google.android.gms:play-services-auth:20.1.0' //google·þÎñ
|
implementation("com.android.billingclient:billing:7.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 {
|
ndkPath "**NDKPATH**"
|
|
compileSdkVersion 34
|
buildToolsVersion '34.0.0'
|
|
compileOptions {
|
sourceCompatibility JavaVersion.VERSION_11
|
targetCompatibility JavaVersion.VERSION_11
|
}
|
|
packagingOptions {exclude 'META-INF/rxjava.properties'}
|
defaultConfig {
|
minSdkVersion 24
|
targetSdkVersion 34
|
ndk {
|
abiFilters **ABIFILTERS**
|
}
|
versionCode **VERSIONCODE**
|
versionName '**VERSIONNAME**'
|
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
|
}
|
|
lintOptions {
|
abortOnError false
|
checkReleaseBuilds false
|
}
|
|
aaptOptions {
|
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
|
}**PACKAGING_OPTIONS**
|
}
|
**IL_CPP_BUILD_SETUP**
|
**SOURCE_BUILD_SETUP**
|
**EXTERNAL_SOURCES**
|