Sfoglia il codice sorgente

1.添加mmse module

王鹏鹏 2 anni fa
parent
commit
f3bfee9ae4

+ 1 - 0
.idea/gradle.xml

@@ -17,6 +17,7 @@
             <option value="$PROJECT_DIR$/home" />
             <option value="$PROJECT_DIR$/livebroadcast" />
             <option value="$PROJECT_DIR$/login" />
+            <option value="$PROJECT_DIR$/mmse" />
             <option value="$PROJECT_DIR$/personalcenter" />
             <option value="$PROJECT_DIR$/push" />
             <option value="$PROJECT_DIR$/superplayerkit" />

+ 1 - 0
.idea/misc.xml

@@ -82,6 +82,7 @@
         <entry key="..\:/workspace/hcp-pad/login/src/main/res/drawable/bg_login_btn.xml" value="0.219" />
         <entry key="..\:/workspace/hcp-pad/login/src/main/res/drawable/bg_login_edit.xml" value="0.219" />
         <entry key="..\:/workspace/hcp-pad/login/src/main/res/layout/activity_login.xml" value="0.22826086956521738" />
+        <entry key="..\:/workspace/hcp-pad/mmse/src/main/res/layout/activity_main.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pad/personalcenter/src/main/res/drawable/bg_center.xml" value="0.219" />
         <entry key="..\:/workspace/hcp-pad/personalcenter/src/main/res/drawable/bg_common_head_layout.xml" value="0.219" />
         <entry key="..\:/workspace/hcp-pad/personalcenter/src/main/res/drawable/bg_personal_center.xml" value="0.219" />

+ 1 - 0
mmse/.gitignore

@@ -0,0 +1 @@
+/build

+ 23 - 0
mmse/build.gradle

@@ -0,0 +1,23 @@
+apply from: "../module.build.gradle"
+apply plugin: 'kotlin-android'
+apply plugin: 'kotlin-kapt'
+
+android {
+    defaultConfig {
+        // 如果是独立模块,则使用当前组件的包名
+        if (singleModule.toBoolean()) {
+            applicationId "com.yingyangfly.mmse"
+        }
+    }
+    // 统一资源前缀,规范资源引用
+    resourcePrefix "mmse_"
+}
+
+dependencies {
+    implementation project(path: ':baselib')
+    implementation(rootProject.ext.androidx.kotlin_lib)
+    implementation(rootProject.ext.androidx.kotlin_core)
+    implementation(rootProject.ext.androidx.appcompat)
+    implementation(rootProject.ext.androidx.material)
+    implementation(rootProject.ext.androidx.constraintlayout)
+}

+ 21 - 0
mmse/proguard-rules.pro

@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+#   http://developer.android.com/guide/developing/tools/proguard.html
+
+# 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 *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile

+ 8 - 0
mmse/src/main/AndroidManifest.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest package="com.yingyangfly.mmse">
+
+    <application>
+
+    </application>
+
+</manifest>

+ 10 - 0
mmse/src/main/manifest/AndroidManifest.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    package="com.yingyang.personalcenter">
+
+    <application
+        android:allowBackup="true">
+
+    </application>
+
+</manifest>

+ 4 - 0
mmse/src/main/res/values/colors.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+</resources>

+ 3 - 0
mmse/src/main/res/values/strings.xml

@@ -0,0 +1,3 @@
+<resources>
+
+</resources>

+ 1 - 0
settings.gradle

@@ -10,3 +10,4 @@ include ':push'
 include ':home'
 include ':superplayerkit'
 include ':common'
+include ':mmse'