| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 | // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAINapply plugin: 'com.android.application'dependencies {    implementation project(':unityLibrary')    }android {    compileSdkVersion **APIVERSION**    buildToolsVersion '**BUILDTOOLS**'    compileOptions {        sourceCompatibility JavaVersion.VERSION_1_8        targetCompatibility JavaVersion.VERSION_1_8    }    defaultConfig {        minSdkVersion **MINSDKVERSION**        targetSdkVersion **TARGETSDKVERSION**        applicationId '**APPLICATIONID**'        ndk {            abiFilters **ABIFILTERS**        }        versionCode **VERSIONCODE**        versionName '**VERSIONNAME**'    }    aaptOptions {        noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')        ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"    }**SIGN**    lintOptions {        abortOnError false    }    buildTypes {        debug {            minifyEnabled **MINIFY_DEBUG**            proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**            jniDebuggable true        }        release {            minifyEnabled **MINIFY_RELEASE**            proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**        }    }**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS****BUILT_APK_LOCATION**    bundle {        language {            enableSplit = false        }        density {            enableSplit = false        }        abi {            enableSplit = true        }    }}**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP**apply plugin: 'com.mob.sdk'MobSDK {    appKey "39cb75f714db3"    appSecret "7fdbd1e2d3fd5beaa360d7eca51d844e"    ShareSDK {        //第三方平台配置        devInfo {            SinaWeibo {                id 1                sortId 59                appKey "4026427899"                appSecret "f3f473d16e26626c09b1797e5e2614f8"                callbackUri "http://www.sharesdk.cn"                shareByAppClient true                enable true            }                        TencentWeibo {                id 2                sortId 2                appKey "801307650"                appSecret "ae36f4ee3946e1cbb98d6965b0b2ff5c"                callbackUri "http://sharesdk.cn"                enable true            }            Wechat {                id 4                sortId 4                appId "wxf8452955e8de2e46"                appSecret "f9fcae1666d6e9e24cac0f7dd395433d"                withShareTicket true                bypassApproval true                enable true            }            WechatMoments {                id 5                sortId 5                appId "wxf8452955e8de2e46"                appSecret "f9fcae1666d6e9e24cac0f7dd395433d"                bypassApproval true                enable true            }            WeChatFavorites{                id 6                sortId 6                appId "wxf8452955e8de2e46"                appSecret "f9fcae1666d6e9e24cac0f7dd395433d"                bypassApproval true                enable true            }            QZone {                id 3                sortId 3                appId "100371282"                appKey "aed9b0303e3ed1e27bae87c33761161d"                shareByAppClient true                bypassApproval false                enable true            }             QQ {                id 7                sortId 7                appId "100371282"                appKey "aed9b0303e3ed1e27bae87c33761161d"                shareByAppClient true                bypassApproval false                enable true            }            //如果需要,添加其他第三方平台的配置        }    }}
 |