hch
2024-12-19 958c8788b4c39fccc65b17890d21645f5c99e90b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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**