hch
5 天以前 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
apply plugin: 'com.android.library'
**APPLY_PLUGINS**
 
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    
    api 'androidx.annotation:annotation:1.5.0'
    api 'androidx.core:core:1.6.0'
 
**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**