diff --git a/FaceUnity/build.gradle b/FaceUnity/build.gradle index 4d0686f41..440319b62 100644 --- a/FaceUnity/build.gradle +++ b/FaceUnity/build.gradle @@ -1,12 +1,18 @@ -apply plugin: 'com.android.library' -apply plugin: 'img-optimizer' -apply plugin: 'kotlin-android' -apply plugin: 'kotlin-android-extensions' +//apply plugin: 'com.android.library' +//apply plugin: 'img-optimizer' +//apply plugin: 'kotlin-android' +//apply plugin: 'kotlin-android-extensions' +plugins { + id 'com.android.library' + id 'kotlin-android' + id 'kotlin-parcelize' + id 'img-optimizer' +} android { - compileSdkVersion rootProject.ext.android.compileSdkVersion - buildToolsVersion rootProject.ext.android.buildToolsVersion + namespace "com.yunbao.faceunity" + compileSdk rootProject.ext.android.compileSdkVersion packagingOptions { pickFirst "lib/armeabi/libyuvutils.so" pickFirst "lib/arm64-v8a/libyuvutils.so" @@ -48,8 +54,11 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_18 + targetCompatibility JavaVersion.VERSION_18 + } + buildFeatures { + buildConfig = true } } repositories { diff --git a/FaceUnity/src/main/AndroidManifest.xml b/FaceUnity/src/main/AndroidManifest.xml index 220544321..7730054ac 100644 --- a/FaceUnity/src/main/AndroidManifest.xml +++ b/FaceUnity/src/main/AndroidManifest.xml @@ -1,6 +1,5 @@ @@ -11,7 +10,9 @@ + android:allowBackup="true" + tools:replace="allowBackup" + > diff --git a/IAP6Helper/build.gradle b/IAP6Helper/build.gradle index d8fc4749a..c44647428 100644 --- a/IAP6Helper/build.gradle +++ b/IAP6Helper/build.gradle @@ -1,15 +1,15 @@ apply plugin: 'com.android.library' android { - compileSdkVersion rootProject.ext.android.compileSdkVersion - buildToolsVersion rootProject.ext.android.buildToolsVersion + namespace "com.samsung.android.sdk.iap.lib" + compileSdk rootProject.ext.android.compileSdkVersion defaultConfig { - minSdkVersion minSdkVersion + minSdkVersion rootProject.ext.android.minSdkVersion testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" - versionCode versionCode - versionName versionName - targetSdkVersion targetSdkVersion + versionCode rootProject.ext.android.versionCode + versionName rootProject.ext.android.versionName + targetSdkVersion rootProject.ext.android.targetSdkVersion } buildTypes { @@ -18,7 +18,15 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } + buildFeatures { + buildConfig = true + } +} +repositories { + flatDir { + dirs 'libs', '../libs' + } } - dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) } \ No newline at end of file diff --git a/IAP6Helper/libs/samsung-iap-6.1.1.aar b/IAP6Helper/libs/samsung-iap-6.1.1.aar new file mode 100644 index 000000000..4195da69d Binary files /dev/null and b/IAP6Helper/libs/samsung-iap-6.1.1.aar differ diff --git a/IAP6Helper/src/main/AndroidManifest.xml b/IAP6Helper/src/main/AndroidManifest.xml index b5f9f1046..15497edba 100644 --- a/IAP6Helper/src/main/AndroidManifest.xml +++ b/IAP6Helper/src/main/AndroidManifest.xml @@ -1,11 +1,12 @@ - - + + > @@ -19,7 +19,7 @@ tools:ignore="ExportedContentProvider" /> - + variant.mergeAssetsProvider.configure { @@ -33,9 +31,7 @@ android { } } }*/ - - compileSdkVersion rootProject.ext.android.compileSdkVersion - buildToolsVersion rootProject.ext.android.buildToolsVersion + compileSdk rootProject.ext.android.compileSdkVersion packagingOptions { pickFirst "lib/armeabi/libyuvutils.so" pickFirst "lib/arm64-v8a/libyuvutils.so" @@ -105,8 +101,11 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_18 + targetCompatibility JavaVersion.VERSION_18 + } + buildFeatures { + buildConfig = true } applicationVariants.all { variant -> println "清空build文件夹"; diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 2e3daa403..f90b64087 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ + > (); } -keep class androidx.core.content.FileProvider { (); } +-keep class androidx.core.content.FileProvider4Utils { (); } -keep class androidx.profileinstaller.ProfileInstallReceiver { (); } -keep class androidx.room.MultiInstanceInvalidationService { (); } -keep class androidx.startup.InitializationProvider { (); } @@ -460,6 +461,10 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.twitter.sdk.android.tweetcomposer.TweetUploadService { (); } -keep class com.twitter.sdk.android.tweetui.GalleryActivity { (); } -keep class com.twitter.sdk.android.tweetui.PlayerActivity { (); } +-keep class com.xuexiang.xui.XUIInitProvider { (); } +-keep class com.xuexiang.xui.widget.imageview.preview.ui.PreviewActivity { (); } +-keep class com.xuexiang.xui.widget.imageview.preview.ui.VideoPlayerActivity { (); } +-keep class com.xuexiang.xutil.system.PermissionUtils$PermissionActivity { (); } -keep class com.yalantis.ucrop.UCropActivity { (); } -keep class com.yunbao.common.activity.ErrorActivity { (); } -keep class com.yunbao.common.activity.PreviewImageActivity { (); } @@ -488,7 +493,6 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.yunbao.live.activity.LiveTRTCAnchorActivity { (); } -keep class com.yunbao.live.activity.MedalQuestionWebViewActivity { (); } -keep class com.yunbao.live.activity.PDLIiveChatActivity { (); } --keep class com.yunbao.main.activity.PDLiveConversationActivity { (); } -keep class com.yunbao.live.activity.RoomManageActivity { (); } -keep class com.yunbao.live.activity.RoomManageDetailActivity { (); } -keep class com.yunbao.live.activity.SudGameActivity { (); } @@ -503,11 +507,15 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.yunbao.main.activity.CashActivity { (); } -keep class com.yunbao.main.activity.ChatActivity { (); } -keep class com.yunbao.main.activity.ChatRoomActivity { (); } +-keep class com.yunbao.main.activity.CommunityDetailsActivity { (); } +-keep class com.yunbao.main.activity.CommunitySendActivity { (); } +-keep class com.yunbao.main.activity.CompleteUserInfoActivity { (); } -keep class com.yunbao.main.activity.CustomerServiceWebViewActivity { (); } -keep class com.yunbao.main.activity.EditNameActivity { (); } -keep class com.yunbao.main.activity.EditProfileActivity { (); } -keep class com.yunbao.main.activity.EditSexActivity { (); } -keep class com.yunbao.main.activity.EditSignActivity { (); } +-keep class com.yunbao.main.activity.EditUserHobbyActivity { (); } -keep class com.yunbao.main.activity.EntryActivity { (); } -keep class com.yunbao.main.activity.FansActivity { (); } -keep class com.yunbao.main.activity.FindPwdActivity { (); } @@ -519,7 +527,10 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.yunbao.main.activity.MainActivity { (); } -keep class com.yunbao.main.activity.MainHomeCommunityActivity { (); } -keep class com.yunbao.main.activity.MainListActivity { (); } +-keep class com.yunbao.main.activity.MessageHiConfigActivity { (); } +-keep class com.yunbao.main.activity.MessageHiConfigRecordActivity { (); } -keep class com.yunbao.main.activity.ModifyPwdActivity { (); } +-keep class com.yunbao.main.activity.MsgAddressBookActivity { (); } -keep class com.yunbao.main.activity.MsgSettActivity { (); } -keep class com.yunbao.main.activity.MyCoinActivity { (); } -keep class com.yunbao.main.activity.MyImpressActivity { (); } @@ -529,6 +540,7 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.yunbao.main.activity.MyWebViewActivity { (); } -keep class com.yunbao.main.activity.MyWebViewActivity2 { (); } -keep class com.yunbao.main.activity.OneLoginActivity { (); } +-keep class com.yunbao.main.activity.PDLiveConversationActivity { (); } -keep class com.yunbao.main.activity.PDLiveConversationListActivity { (); } -keep class com.yunbao.main.activity.RechargeActivity { (); } -keep class com.yunbao.main.activity.RecommendActivity { (); } @@ -543,6 +555,7 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.yunbao.main.activity.ThreeDistributActivity { (); } -keep class com.yunbao.main.activity.UserAvatarSelectActivity { (); } -keep class com.yunbao.main.activity.UserHomeActivity { (); } +-keep class com.yunbao.main.activity.UserHomeActivityOld { (); } -keep class com.yunbao.main.activity.WeekWebViewActivity { (); } -keep class com.yunbao.main.activity.ZhuangBanActivity { (); } -keep class com.yunbao.share.receiver.TwitterResultReceiver { (); } @@ -609,8 +622,16 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class androidx.appcompat.widget.AlertDialogLayout { (android.content.Context, android.util.AttributeSet); } +-keep class androidx.appcompat.widget.AppCompatCheckBox { (android.content.Context, android.util.AttributeSet); } + +-keep class androidx.appcompat.widget.AppCompatEditText { (android.content.Context, android.util.AttributeSet); } + +-keep class androidx.appcompat.widget.AppCompatImageButton { (android.content.Context, android.util.AttributeSet); } + -keep class androidx.appcompat.widget.AppCompatImageView { (android.content.Context, android.util.AttributeSet); } +-keep class androidx.appcompat.widget.AppCompatRadioButton { (android.content.Context, android.util.AttributeSet); } + -keep class androidx.appcompat.widget.AppCompatTextView { (android.content.Context, android.util.AttributeSet); } -keep class androidx.appcompat.widget.ButtonBarLayout { (android.content.Context, android.util.AttributeSet); } @@ -659,6 +680,8 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.blankj.utilcode.util.ToastUtils$UtilsMaxWidthRelativeLayout { (android.content.Context, android.util.AttributeSet); } +-keep class com.contrarywind.view.WheelView { (android.content.Context, android.util.AttributeSet); } + -keep class com.github.gzuliyujiang.wheelview.widget.WheelView { (android.content.Context, android.util.AttributeSet); } -keep class com.google.android.exoplayer2.ui.AspectRatioFrameLayout { (android.content.Context, android.util.AttributeSet); } @@ -787,6 +810,42 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.xj.marqueeview.MarqueeView { (android.content.Context, android.util.AttributeSet); } +-keep class com.xuexiang.xui.widget.actionbar.TitleBar { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.alpha.XUIAlphaButton { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.alpha.XUIAlphaTextView { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.banner.widget.banner.SimpleGuideBanner { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.dialog.bottomsheet.BottomSheetItemView { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.dialog.materialdialog.internal.MDButton { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.dialog.materialdialog.internal.MDRootLayout { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.edittext.verify.PwdEditText { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.flowlayout.FlowTagLayout { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.imageview.crop.CropOverlayView { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.imageview.preview.view.BezierBannerView { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.imageview.preview.view.PhotoViewPager { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.imageview.preview.view.SmoothImageView { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.picker.wheelview.WheelView { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.progress.loading.ARCLoadingView { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.progress.loading.MiniLoadingView { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.progress.materialprogressbar.MaterialProgressBar { (android.content.Context, android.util.AttributeSet); } + +-keep class com.xuexiang.xui.widget.textview.AutoMoveTextView { (android.content.Context, android.util.AttributeSet); } + -keep class com.xw.repo.BubbleSeekBar { (android.content.Context, android.util.AttributeSet); } -keep class com.yalantis.ucrop.view.GestureCropImageView { (android.content.Context, android.util.AttributeSet); } @@ -809,6 +868,8 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.yunbao.common.custom.CommonRefreshView { (android.content.Context, android.util.AttributeSet); } +-keep class com.yunbao.common.custom.CommonRefreshWaterfallView { (android.content.Context, android.util.AttributeSet); } + -keep class com.yunbao.common.custom.DrawableCheckBox { (android.content.Context, android.util.AttributeSet); } -keep class com.yunbao.common.custom.DrawableRadioButton { (android.content.Context, android.util.AttributeSet); } @@ -853,6 +914,12 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -keep class com.yunbao.common.views.FlowLayout { (android.content.Context, android.util.AttributeSet); } +-keep class com.yunbao.common.views.MyFrameLayout2 { (android.content.Context, android.util.AttributeSet); } + +-keep class com.yunbao.common.views.MyScrollview { (android.content.Context, android.util.AttributeSet); } + +-keep class com.yunbao.common.views.NineGridLayout { (android.content.Context, android.util.AttributeSet); } + -keep class com.yunbao.common.views.weight.CircleProgress { (android.content.Context, android.util.AttributeSet); } -keep class com.yunbao.common.views.weight.CircleProgress2 { (android.content.Context, android.util.AttributeSet); } @@ -2577,6 +2644,29 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; -dontwarn kotlin.annotation.Target # End of content from C:\gradle-6.1.1\caches\transforms-2\files-2.1\9df899c838441fedfccf1ab27d865636\jetified-annotation-experimental-1.1.0\proguard.txt +# The proguard configuration file for the following section is C:\gradle-6.1.1\caches\transforms-2\files-2.1\410ee7047c4b7502102a93fa8e774ce4\jetified-calligraphy3-3.1.1\proguard.txt +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /Developer/android-sdk-osx/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +-keep class io.github.inflationx.calligraphy3.* { *; } +-keep class io.github.inflationx.calligraphy3.*$* { *; } + +# End of content from C:\gradle-6.1.1\caches\transforms-2\files-2.1\410ee7047c4b7502102a93fa8e774ce4\jetified-calligraphy3-3.1.1\proguard.txt # The proguard configuration file for the following section is C:\gradle-6.1.1\caches\transforms-2\files-2.1\3fa9ddf89863b7edbe04056a19226bfe\jetified-billing-5.0.0\proguard.txt # Keep the AIDL interface -keep class com.android.vending.billing.** { *; } diff --git a/baidu/build.gradle b/baidu/build.gradle index 61deab963..5078c923d 100644 --- a/baidu/build.gradle +++ b/baidu/build.gradle @@ -3,8 +3,8 @@ apply plugin: 'img-optimizer' android { - compileSdkVersion rootProject.ext.android.compileSdkVersion - buildToolsVersion rootProject.ext.android.buildToolsVersion + compileSdk rootProject.ext.android.compileSdkVersion + targetSdk rootProject.ext.android.buildToolsVersion packagingOptions { pickFirst "lib/armeabi/libyuvutils.so" pickFirst "lib/arm64-v8a/libyuvutils.so" @@ -42,8 +42,8 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_18 + targetCompatibility JavaVersion.VERSION_18 } } repositories { diff --git a/baidu/src/main/AndroidManifest.xml b/baidu/src/main/AndroidManifest.xml index cd15e971f..fcdcabc8d 100644 --- a/baidu/src/main/AndroidManifest.xml +++ b/baidu/src/main/AndroidManifest.xml @@ -1,5 +1,4 @@ diff --git a/beauty/build.gradle b/beauty/build.gradle index a41bf38a8..613c86161 100644 --- a/beauty/build.gradle +++ b/beauty/build.gradle @@ -3,8 +3,8 @@ apply plugin: 'img-optimizer' android { - compileSdkVersion rootProject.ext.android.compileSdkVersion - buildToolsVersion rootProject.ext.android.buildToolsVersion + compileSdk rootProject.ext.android.compileSdkVersion + targetSdk rootProject.ext.android.buildToolsVersion packagingOptions { pickFirst "lib/armeabi/libyuvutils.so" pickFirst "lib/arm64-v8a/libyuvutils.so" @@ -45,8 +45,8 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_18 + targetCompatibility JavaVersion.VERSION_18 } } repositories { diff --git a/beauty/src/main/AndroidManifest.xml b/beauty/src/main/AndroidManifest.xml index c6ceee92c..a3e44eaff 100644 --- a/beauty/src/main/AndroidManifest.xml +++ b/beauty/src/main/AndroidManifest.xml @@ -1,2 +1,2 @@ + /> diff --git a/build.gradle b/build.gradle index 92ec8d5af..c090eb224 100644 --- a/build.gradle +++ b/build.gradle @@ -4,27 +4,28 @@ apply from: "dependencies.gradle" buildscript { - ext.kotlin_version = '1.6.20' + ext.kotlin_version = '1.8.22' repositories { maven { url "https://mvn.mob.com/android" } maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.fabric.io/public' } - maven { url 'http://maven.faceunity.com/repository/maven-public/' }//美颜库 + maven { url 'https://maven.faceunity.com/repository/maven-public/' }//美颜库 maven { url 'https://repo1.maven.org/maven2/' }//埋点 maven {url 'https://developer.huawei.com/repo/'} + maven { url "https://jitpack.io" } google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:4.0.2' + classpath 'com.android.tools.build:gradle:8.3.1' //一键压缩png工具 classpath 'com.chenenyu:img-optimizer:1.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.3.3' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2' - classpath "com.alibaba:arouter-register:1.0.2" + classpath "com.github.jadepeakpoet.ARouter:arouter-register:1.0.3" classpath 'com.huawei.agconnect:agcp:1.5.2.300' } @@ -40,9 +41,9 @@ allprojects { maven { url "https://mvn.mob.com/android" } maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/google' } - maven { url 'http://developer.huawei.com/repo'}//华为库 + maven { url 'https://developer.huawei.com/repo'}//华为库 maven { url 'https://maven.fabric.io/public' } - maven { url 'http://maven.faceunity.com/repository/maven-public/' }//美颜库 + maven { url 'https://maven.faceunity.com/repository/maven-public/' }//美颜库 maven { url "https://jitpack.io" } maven { url 'https://repo1.maven.org/maven2/' }//埋点 google() // Google's Maven repository diff --git a/common/build.gradle b/common/build.gradle index dda122cc5..931e41955 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -3,8 +3,8 @@ apply plugin: 'img-optimizer' android { - compileSdkVersion rootProject.ext.android.compileSdkVersion - buildToolsVersion rootProject.ext.android.buildToolsVersion + namespace "com.yunbao.common" + compileSdk rootProject.ext.android.compileSdkVersion defaultConfig { minSdkVersion rootProject.ext.android.minSdkVersion @@ -59,8 +59,11 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_18 + targetCompatibility JavaVersion.VERSION_18 + } + buildFeatures { + buildConfig = true } } repositories { @@ -165,14 +168,14 @@ dependencies { //腾讯im api 'com.tencent.imsdk:imsdk-plus:5.4.666' api 'com.google.code.gson:gson:2.8.8' - api 'cn.rongcloud.sdk:rtc_lib:5.2.0' // 音视频通话基础能力库 + api 'cn.rongcloud.sdk:rtc_lib:5.6.9' // 音视频通话基础能力库 //此处以集成 5.1.2 版本为例 - api 'cn.rongcloud.sdk:im_lib:5.2.0.2' + api 'cn.rongcloud.sdk:im_lib:5.6.10' //此处以集成 5.1.2 版本为例 - api 'cn.rongcloud.sdk:im_kit:5.2.5.4' // 即时通讯 UI 基础组件 + api 'cn.rongcloud.sdk:im_kit:5.6.10' // 即时通讯 UI 基础组件 //融云小视频模块 - api 'cn.rongcloud.sdk:sight:5.2.5.4' + api 'cn.rongcloud.sdk:sight:5.6.10' api 'com.facebook.android:facebook-android-sdk:15.2.0' implementation 'com.facebook.android:facebook-android-sdk:15.2.0' diff --git a/common/src/main/AndroidManifest.xml b/common/src/main/AndroidManifest.xml index b8c0fb245..c7b6ab847 100644 --- a/common/src/main/AndroidManifest.xml +++ b/common/src/main/AndroidManifest.xml @@ -1,11 +1,14 @@ + xmlns:tools="http://schemas.android.com/tools"> - + diff --git a/config.gradle b/config.gradle index 753ecd6b0..31994f1d9 100644 --- a/config.gradle +++ b/config.gradle @@ -2,10 +2,11 @@ ext { android = [ compileSdkVersion: 33, buildToolsVersion: "29.0.2", - minSdkVersion : 21, + minSdkVersion : 23, targetSdkVersion : 33, versionCode : 510, - versionName : "6.6.5" + versionName : "6.6.5", + namespace : "com.pandoralive.shayu" ] manifestPlaceholders = [ //正式、 diff --git a/dependencies.gradle b/dependencies.gradle index 3a028a4df..fd32a5d29 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -27,8 +27,8 @@ ext { "magicIndicator" : 'com.github.hackware1993:MagicIndicator:1.6.0',//ViewPager指示器 "banner" : 'com.ms:banner:1.0.0',//轮播图 "Luban" : 'top.zibin:Luban:1.1.8',//鲁班压缩图片 - "arouter" : 'com.alibaba:arouter-api:1.5.2',//ARouter - "arouter-compiler" : 'com.alibaba:arouter-compiler:1.2.2', + "arouter" : 'com.github.jadepeakpoet.ARouter:arouter-api:1.0.3',//ARouter + "arouter-compiler" : 'com.github.jadepeakpoet.ARouter:arouter-compiler:1.0.3', "leakcanary" : 'com.squareup.leakcanary:leakcanary-android:2.9.1', "blank-utilcode" : 'com.blankj:utilcode:1.30.0', diff --git a/gradle.properties b/gradle.properties index ca26b19ff..edf2e18a5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,13 +13,14 @@ #Thu Feb 04 00:05:45 CST 2021 android.injected.testOnly=false org.gradle.daemon=true -org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 org.gradle.parallel=true org.gradle.configureondemand=true android.useAndroidX=true android.enableJetifier=true +android.nonTransitiveRClass=false systemProp.http.proxyHost=127.0.0.1 systemProp.https.proxyHost=127.0.0.1 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9276a5849..36be9d94f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip diff --git a/lib_country_code/build.gradle b/lib_country_code/build.gradle index 03733b197..d79070cf8 100644 --- a/lib_country_code/build.gradle +++ b/lib_country_code/build.gradle @@ -3,8 +3,8 @@ apply plugin: 'img-optimizer' android { - compileSdkVersion rootProject.ext.android.compileSdkVersion - buildToolsVersion rootProject.ext.android.buildToolsVersion + namespace "com.sahooz.library" + compileSdk rootProject.ext.android.compileSdkVersion packagingOptions { pickFirst "lib/armeabi/libyuvutils.so" pickFirst "lib/arm64-v8a/libyuvutils.so" @@ -25,10 +25,10 @@ android { } defaultConfig { - minSdkVersion minSdkVersion - targetSdkVersion targetSdkVersion - versionCode versionCode - versionName versionName + minSdkVersion rootProject.ext.android.minSdkVersion + targetSdkVersion rootProject.ext.android.targetSdkVersion + versionCode rootProject.ext.android.versionCode + versionName rootProject.ext.android.versionName manifestPlaceholders = rootProject.ext.manifestPlaceholders testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -42,8 +42,8 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_18 + targetCompatibility JavaVersion.VERSION_18 } } diff --git a/lib_country_code/src/main/AndroidManifest.xml b/lib_country_code/src/main/AndroidManifest.xml index 9de290553..f2f766304 100644 --- a/lib_country_code/src/main/AndroidManifest.xml +++ b/lib_country_code/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + > diff --git a/lib_google/build.gradle b/lib_google/build.gradle index 262c095e4..d62050566 100644 --- a/lib_google/build.gradle +++ b/lib_google/build.gradle @@ -1,16 +1,16 @@ apply plugin: 'com.android.library' android { - compileSdkVersion rootProject.ext.android.compileSdkVersion - buildToolsVersion rootProject.ext.android.buildToolsVersion + namespace "com.shayu.lib_google" + compileSdk rootProject.ext.android.compileSdkVersion defaultConfig { - minSdkVersion minSdkVersion testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" - versionCode versionCode - versionName versionName - targetSdkVersion targetSdkVersion + minSdkVersion rootProject.ext.android.minSdkVersion + targetSdkVersion rootProject.ext.android.targetSdkVersion + versionCode rootProject.ext.android.versionCode + versionName rootProject.ext.android.versionName } buildTypes { @@ -20,8 +20,8 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_18 + targetCompatibility JavaVersion.VERSION_18 } } diff --git a/lib_google/src/main/AndroidManifest.xml b/lib_google/src/main/AndroidManifest.xml index deeb96ae2..12bbd5002 100644 --- a/lib_google/src/main/AndroidManifest.xml +++ b/lib_google/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + > \ No newline at end of file diff --git a/lib_huawei/build.gradle b/lib_huawei/build.gradle index 5e8964d43..9755b0a61 100644 --- a/lib_huawei/build.gradle +++ b/lib_huawei/build.gradle @@ -1,8 +1,9 @@ apply plugin: 'com.android.library' android { - compileSdkVersion rootProject.ext.android.compileSdkVersion - buildToolsVersion rootProject.ext.android.buildToolsVersion + namespace "com.shayu.lib_huawei" + compileSdk rootProject.ext.android.compileSdkVersion + targetSdk rootProject.ext.android.buildToolsVersion defaultConfig { minSdkVersion minSdkVersion @@ -20,8 +21,8 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_18 + targetCompatibility JavaVersion.VERSION_18 } } diff --git a/lib_huawei/src/main/AndroidManifest.xml b/lib_huawei/src/main/AndroidManifest.xml index b9b2617ac..901e222d4 100644 --- a/lib_huawei/src/main/AndroidManifest.xml +++ b/lib_huawei/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + > \ No newline at end of file diff --git a/live/build.gradle b/live/build.gradle index b9a209670..53402f163 100644 --- a/live/build.gradle +++ b/live/build.gradle @@ -1 +1 @@ -apply plugin: 'com.android.library' apply plugin: 'img-optimizer' apply plugin: 'kotlin-android' android { compileSdkVersion rootProject.ext.android.compileSdkVersion buildToolsVersion rootProject.ext.android.buildToolsVersion aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false packagingOptions { pickFirst "lib/armeabi/libyuvutils.so" pickFirst "lib/arm64-v8a/libyuvutils.so" pickFirst "lib/armeabi-v7a/libyuvutils.so" pickFirst "lib/armeabi/libyuvtools.so" pickFirst "lib/arm64-v8a/libyuvtools.so" pickFirst "lib/armeabi-v7a/libyuvtools.so" exclude "lib/arm64-v8a/libmmcv_api_handgesture.so" exclude "lib/arm64-v8a/libmmcv_api_express.so" exclude "lib/arm64-v8a/libMediaEncoder.so" exclude "lib/arm64-v8a/libarcore_sdk_c.so" exclude "lib/arm64-v8a/libmediadecoder.so" exclude "lib/arm64-v8a/libMediaMuxer.so" exclude "lib/arm64-v8a/libarcore_sdk_jni.so" exclude "lib/arm64-v8a/libMediaUtils.so" exclude "lib/arm64-v8a/libcosmosffmpeg.so" } defaultConfig { minSdkVersion rootProject.ext.android.minSdkVersion targetSdkVersion rootProject.ext.android.targetSdkVersion versionCode rootProject.ext.android.versionCode versionName rootProject.ext.android.versionName manifestPlaceholders = rootProject.ext.manifestPlaceholders ndk { abiFilters "armeabi-v7a", "arm64-v8a" } javaCompileOptions { annotationProcessorOptions { arguments = [AROUTER_MODULE_NAME: project.getName()] } } } aaptOptions { cruncherEnabled = false useNewCruncher = false } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } kotlinOptions { allWarningsAsErrors = true } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } repositories { flatDir { dirs 'libs', '../libs' } mavenCentral() } dependencies { implementation 'androidx.constraintlayout:constraintlayout:2.0.0' implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) implementation (name:'../libs/beautysdk-202202241203',ext:'aar') implementation (name:'../libs/svgaplayer-release-v1.2.1',ext:'aar') //socket.io implementation('io.socket:socket.io-client:1.0.0') { exclude group: 'org.json', module: 'json' } //common api project(path: ':common') api project(path:':FaceUnity')//新娱美颜 api project(':Share')//分享 annotationProcessor rootProject.ext.dependencies["arouter-compiler"] //工具 api rootProject.ext.dependencies["blank-utilcode"] implementation 'com.eightbitlab:blurview:1.6.6' implementation 'com.google.code.gson:gson:2.8.6' implementation "com.getkeepsafe.relinker:relinker:1.4.4" //ExoPlayer,腾讯的播放器不支持无缝切换 implementation 'com.google.android.exoplayer:exoplayer:2.18.2' implementation 'com.google.android.exoplayer:exoplayer-core:2.18.2@aar' } \ No newline at end of file +apply plugin: 'com.android.library' apply plugin: 'img-optimizer' apply plugin: 'kotlin-android' android { namespace "com.yunbao.live" compileSdk rootProject.ext.android.compileSdkVersion aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false packagingOptions { pickFirst "lib/armeabi/libyuvutils.so" pickFirst "lib/arm64-v8a/libyuvutils.so" pickFirst "lib/armeabi-v7a/libyuvutils.so" pickFirst "lib/armeabi/libyuvtools.so" pickFirst "lib/arm64-v8a/libyuvtools.so" pickFirst "lib/armeabi-v7a/libyuvtools.so" exclude "lib/arm64-v8a/libmmcv_api_handgesture.so" exclude "lib/arm64-v8a/libmmcv_api_express.so" exclude "lib/arm64-v8a/libMediaEncoder.so" exclude "lib/arm64-v8a/libarcore_sdk_c.so" exclude "lib/arm64-v8a/libmediadecoder.so" exclude "lib/arm64-v8a/libMediaMuxer.so" exclude "lib/arm64-v8a/libarcore_sdk_jni.so" exclude "lib/arm64-v8a/libMediaUtils.so" exclude "lib/arm64-v8a/libcosmosffmpeg.so" } defaultConfig { minSdkVersion rootProject.ext.android.minSdkVersion targetSdkVersion rootProject.ext.android.targetSdkVersion versionCode rootProject.ext.android.versionCode versionName rootProject.ext.android.versionName manifestPlaceholders = rootProject.ext.manifestPlaceholders ndk { abiFilters "armeabi-v7a", "arm64-v8a" } javaCompileOptions { annotationProcessorOptions { arguments = [AROUTER_MODULE_NAME: project.getName()] } } } aaptOptions { cruncherEnabled = false useNewCruncher = false } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } kotlinOptions { allWarningsAsErrors = true } compileOptions { sourceCompatibility JavaVersion.VERSION_18 targetCompatibility JavaVersion.VERSION_18 } } repositories { flatDir { dirs 'libs', '../libs' } mavenCentral() } dependencies { implementation 'androidx.constraintlayout:constraintlayout:2.0.0' implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) implementation (name:'../libs/beautysdk-202202241203',ext:'aar') implementation (name:'../libs/svgaplayer-release-v1.2.1',ext:'aar') //socket.io implementation('io.socket:socket.io-client:1.0.0') { exclude group: 'org.json', module: 'json' } //common api project(path: ':common') api project(path:':FaceUnity')//新娱美颜 api project(':Share')//分享 annotationProcessor rootProject.ext.dependencies["arouter-compiler"] //工具 api rootProject.ext.dependencies["blank-utilcode"] implementation 'com.eightbitlab:blurview:1.6.6' implementation 'com.google.code.gson:gson:2.8.6' implementation "com.getkeepsafe.relinker:relinker:1.4.4" //ExoPlayer,腾讯的播放器不支持无缝切换 implementation 'com.google.android.exoplayer:exoplayer:2.18.2' implementation 'com.google.android.exoplayer:exoplayer-core:2.18.2@aar' } \ No newline at end of file diff --git a/live/src/main/AndroidManifest.xml b/live/src/main/AndroidManifest.xml index 43472492e..b87f97428 100644 --- a/live/src/main/AndroidManifest.xml +++ b/live/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ + > @@ -11,7 +11,7 @@ + > - + xmlns:tools="http://schemas.android.com/tools">