| | |
| | | implementation files('libs/nb_trade-4.0.0.27.aar') |
| | | |
| | | |
| | | |
| | | implementation 'androidx.cardview:cardview:1.0.0' |
| | | |
| | | // //视频播放器 |
| | |
| | | implementation project(path: ':library-gallery') |
| | | annotationProcessor 'com.github.jokermonn:permissions4m:2.1.2-processor' |
| | | //微信SDK |
| | | // api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+' |
| | | api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+' |
| | | |
| | | //加载动画库 |
| | | implementation 'com.github.ybq:Android-SpinKit:1.4.0' |
| | |
| | | implementation 'com.qhutch.elevationimageview:elevationimageview:2.4' |
| | | |
| | | //穿山甲 |
| | | implementation 'com.pangle.cn:ads-sdk-pro:4.9.0.8' |
| | | |
| | | |
| | | implementation('com.pangle.cn:pangrowth-sdk:3.1.0.1') { |
| | | exclude group: 'com.pangle.cn', module: 'pangrowth-dpsdk-live' |
| | | //为保证兼容性 建议使用广告SDK版本 |
| | | implementation "com.pangle.cn:mediation-sdk:5.6.1.6" |
| | | implementation('com.pangle.cn:pangrowth-sdk:3.9.0.2') { |
| | | exclude group: 'com.pangle.cn', module: 'partner-live-sdk' |
| | | exclude group: 'com.pangle.cn', module: 'pangrowth-novel-sdk' |
| | | exclude group: 'com.pangle.cn', module: 'pangrowth-game-sdk' |
| | | exclude group: 'com.pangle.cn', module: 'pangrowth-luckycat-sdk' |
| | | exclude group: 'com.squareup.okhttp3', module: 'okhttp' |
| | | exclude group: 'com.pangle.cn', module: 'pangrowth-reward-sdk' |
| | | // exclude group: 'com.pangle.cn', module: 'pangrowth-dpsdk' |
| | | exclude group: 'com.pangle.cn', module: 'partner-live-sdk' |
| | | exclude group: 'com.pangle.cn', module: 'partner-luckycat-api-sdk' |
| | | exclude group: 'com.pangle.cn', module: 'pangrowth-luckycat-api' |
| | | } |
| | | implementation('com.bytedance.applog:RangersAppLog-Lite-cn:6.6.2') |
| | | // implementation('com.bytedance.applog:RangersAppLog-Lite-cn:6.6.2') |
| | | implementation('com.volcengine:apm_insight_crash:1.4.2') |
| | | implementation('com.volcengine:apm_insight_sdk:1.0.3') |
| | | |
| | |
| | | disable 'MissingTranslation' |
| | | } |
| | | |
| | | sourceSets { |
| | | main { |
| | | java { |
| | | exclude '**/XMPushMessageReceiver.java' |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | defaultConfig { |
| | | applicationId "com.doudou.ysvideo" |
| | | versionCode 138 |
| | | versionName "3.10.20" |
| | | versionCode 142 |
| | | versionName "3.10.24" |
| | | multiDexEnabled = true |
| | | minSdkVersion 17 |
| | | targetSdkVersion 29 |
| | | ndk { |
| | | //兼容64位与32位系统 |
| | | abiFilters 'armeabi-v7a', 'arm64-v8a'//, 'x86', 'x86_64' |
| | | abiFilters 'armeabi-v7a', 'arm64-v8a'// |
| | | // abiFilters 'arm64-v8a' |
| | | } |
| | | |
| | | manifestPlaceholders = [ |
| | |
| | | //删除注释,防止注释里面的中文乱码导致更改后的内容系统无法正常解析 |
| | | manifestContent = manifestContent.replaceAll("<!--[\\s\\S]*?-->", "") |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.CAMERA" />', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.CAMERA"/>', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.BLUETOOTH" />', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.REORDER_TASKS" />', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.BLUETOOTH"/>', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/>', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.REORDER_TASKS"/>', '') |
| | | manifestContent = manifestContent.replace('<uses-permission android:name="android.permission.VIBRATE"/>', '') |
| | | |
| | | println "AndroidManifest-Content:" |
| | | |
| | | println "AndroidManifest-Content:--------------------------------------" |
| | | println manifestContent |
| | | file(manifestPath).write(manifestContent) |
| | | } |