1:增加AndroidManifest 合并替换标签

2:增加isAppMode 判断
This commit is contained in:
bimromatic
2021-04-30 16:31:42 +08:00
parent 42c89b7872
commit ae26288042
2 changed files with 8 additions and 2 deletions

View File

@@ -19,7 +19,8 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/base_AppTheme"
tools:ignore="UnusedAttribute">
tools:ignore="UnusedAttribute"
tools:replace="android:name,android:label,android:icon, android:theme,android:allowBackup">
<!-- 屏幕适配基准DP -->
<meta-data

View File

@@ -4,7 +4,12 @@
import com.quyunshuo.androidbaseframemvvm.buildsrc.*
apply plugin: 'com.android.library'
if (ProjectBuildConfig.isAppMode){
apply plugin: 'com.android.application'
}else {
apply plugin: 'com.android.library'
}
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'