王鹏鹏 1 рік тому
батько
коміт
43ea7ee16c

+ 1 - 0
.idea/gradle.xml

@@ -13,6 +13,7 @@
             <option value="$PROJECT_DIR$" />
             <option value="$PROJECT_DIR$/app" />
             <option value="$PROJECT_DIR$/baselib" />
+            <option value="$PROJECT_DIR$/evaluation" />
             <option value="$PROJECT_DIR$/mmse" />
             <option value="$PROJECT_DIR$/moca" />
           </set>

+ 1 - 0
app/build.gradle

@@ -97,6 +97,7 @@ dependencies {
     implementation project(path: ':baselib')
     implementation project(path: ':mmse')
     implementation project(path: ':moca')
+    implementation project(path: ':evaluation')
     implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
     implementation(rootProject.ext.androidx.kotlin_lib)
     implementation(rootProject.ext.androidx.kotlin_core)

+ 1 - 0
evaluation/.gitignore

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

+ 25 - 0
evaluation/build.gradle

@@ -0,0 +1,25 @@
+apply from: "../module.build.gradle"
+apply plugin: 'kotlin-android'
+apply plugin: 'kotlin-kapt'
+
+android {
+
+    defaultConfig {
+        // 如果是独立模块,则使用当前组件的包名
+        if (singleModule.toBoolean()) {
+            applicationId "com.yingyangfly.evaluation"
+        }
+    }
+    // 统一资源前缀,规范资源引用
+    resourcePrefix "game_"
+}
+
+dependencies {
+    implementation project(path: ':baselib')
+    api fileTree(exclude: '*.bak', dir: 'libs')
+    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)
+}

+ 0 - 0
evaluation/consumer-rules.pro


+ 21 - 0
evaluation/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

+ 4 - 0
evaluation/src/main/AndroidManifest.xml

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

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

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

+ 2 - 1
settings.gradle

@@ -2,4 +2,5 @@ rootProject.name = "hcp-large-screen"
 include ':app'
 include ':baselib'
 include ':mmse'
-include ':moca'
+include ':moca'
+include ':evaluation'