Browse Source

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	module_news/build.gradle
guiying712 7 years ago
parent
commit
d3129c5450

+ 1 - 0
.gitignore

@@ -39,5 +39,6 @@ captures/
 .idea/vcs.xml
 .idea/libraries
 
+
 # Keystore files
 *.jks

+ 3 - 5
README.md

@@ -21,14 +21,12 @@ Android项目组件化示例代码
 
 2. Android组件化方案已经支持 **Fragment组件化**,使用方法请下载Demo查看;
 
-3. 目前Android组件化方案还没有写完,后续会**继续更新**,完善组件化方案。
-
-4. 本项目已适配Android Studio 3.0.1版本(Google仓库会带来一定影响)
+3. 本项目已适配Android Studio 3.0.1版本(Google仓库会带来一定影响)
 
 
 ## 集成开发模式和组件开发模式转换
 
-**1、首先打开Android项目的 gradle.properties 文件,然后将 isModule 改为你需要的开发模式,
+**1、首先打开Android项目的 gradle.properties 文件,然后将 isModule 改为你需要的开发模式(true/false)
 然后点击 "Sync Project" 按钮同步项目;**
 
 **2、![Image](/screenshots/develper.PNG) 在运行之前,请先按照图中选择一个能够运行的组件;**
@@ -71,4 +69,4 @@ Android项目组件化示例代码
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
-    limitations under the License.
+    limitations under the License.

+ 0 - 7
lib_common/src/main/java/com/guiying/module/common/base/BaseActionBarActivity.java

@@ -1,10 +1,3 @@
-/*
- *  @ProjectName: ISMS_Petrel_MCU
- *  @Copyright: 2017 HangZhou Hikvision System Technology Co., Ltd. All Right Reserved.
- *  @address: http://www.hikvision.com
- *  @Description: 本内容仅限于杭州海康威视系统技术公有限司内部使用,禁止转发.
- */
-
 package com.guiying.module.common.base;
 
 import android.os.Bundle;

+ 4 - 3
settings.gradle

@@ -1,5 +1,6 @@
-include ':module_app',
+include ':lib_common',
+        ':module_app',
         ':module_main',
         ':module_girls',
-        ':module_news',
-        ':lib_common'
+        ':module_news'
+        

+ 1 - 1
versions.gradle

@@ -118,4 +118,4 @@ def addRepos(RepositoryHandler handler) {
     handler.maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
 }
 
-ext.addRepos = this.&addRepos
+ext.addRepos = this.&addRepos