hch
6 天以前 e8d63e91d80cc59d7947ad026149c2b752ce9364
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
apply plugin: 'com.android.library'
//**APPLY_PLUGINS**
apply from: 'deps.gradle'
 
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation('androidx.appcompat:appcompat:1.0.0') {
        force = true
    }
 
    implementation(name: 'quickgame_hw_2.3.3', ext: 'aar') //x.x.x为具体版本
    implementation 'com.android.billingclient:billing:5.2.1'//google内购
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation "org.jetbrains.kotlin:kotlin-stdlib:1.4.10"
//以下为选接库
//谷歌登录
    implementation 'com.google.android.gms:play-services-auth:19.0.0'
//Facebook
    implementation 'com.facebook.android:facebook-android-sdk:16.0.0'
    //firebase analytics
    implementation 'com.google.firebase:firebase-analytics:20.1.0'
**DEPS**}
 
android {
    compileSdkVersion **APIVERSION**
    buildToolsVersion '33.0.0'
 
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    
    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**