raomeng 8 năm trước cách đây
mục cha
commit
9ec8868486

+ 1 - 0
app_modular/appmoments/.gitignore

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

+ 25 - 0
app_modular/appmoments/build.gradle

@@ -0,0 +1,25 @@
+apply plugin: 'com.android.library'
+
+android {
+    compileSdkVersion 26
+    buildToolsVersion "26.0.1"
+
+    defaultConfig {
+        minSdkVersion 16
+        targetSdkVersion 26
+        versionCode 1
+        versionName "1.0"
+    }
+    buildTypes {
+        release {
+            minifyEnabled false
+            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+        }
+    }
+}
+
+dependencies {
+    compile fileTree(dir: 'libs', include: ['*.jar'])
+    testCompile 'junit:junit:4.12'
+    compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
+}

+ 17 - 0
app_modular/appmoments/proguard-rules.pro

@@ -0,0 +1,17 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in D:\Android\sdk/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# 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 *;
+#}

+ 12 - 0
app_modular/appmoments/src/main/AndroidManifest.xml

@@ -0,0 +1,12 @@
+<manifest package="com.modular.appmoments"
+          xmlns:android="http://schemas.android.com/apk/res/android">
+
+    <application
+        android:allowBackup="true"
+        android:label="@string/app_name"
+        android:supportsRtl="true"
+        >
+
+    </application>
+
+</manifest>

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

@@ -0,0 +1,3 @@
+<resources>
+    <string name="app_name">AppMoments</string>
+</resources>

+ 6 - 4
settings.gradle

@@ -1,18 +1,19 @@
 //主工程
-include ':WeiChat', ':appmessages'
+include ':WeiChat'
 
 //核心模块
 include ':network'
 include ':imageload'
 include ':common'
 include ':message'
-include ':appme'
-include ':appworks'
 
 //业务模块
 include ':applogin'
 include ':appcontact'
-
+include ':appmessages'
+include ':appme'
+include ':appworks'
+include ':appmoments'
 
 //第三库模块
 include ':lib-zxing'
@@ -39,6 +40,7 @@ project(':appme').projectDir = new File('app_modular/appme')
 project(':appworks').projectDir = new File('app_modular/appworks')
 project(':appcontact').projectDir = new File('app_modular/appcontact')
 project(':appmessages').projectDir = new File('app_modular/appmessages')
+project(':appmoments').projectDir = new File('app_modular/appmoments')
 
 //第三库模块
 project(':lib-zxing').projectDir = new File('app_third/lib-zxing')