Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实现组件对内对外的代码都放在组件内部,对外的改后缀名为.api,编译之前自动copy&rename为.java文件 #75

Open
wants to merge 58 commits into
base: master
Choose a base branch
from

Conversation

ouyangpeng
Copy link

@ouyangpeng ouyangpeng commented Jan 16, 2018

  • 1、实现组件对内对外的代码都放在组件内部,对外的改后缀名为.api,编译之前自动copy&rename为.java文件。
  • 2、内部有具体的实现Native方式(不使用Annotation)来进行UI跳转,这部分可忽略。
  • 3、添加了相应的注释来理解代码。
  • 4、maven上传的脚本 编译时候打不开,放到本地了。

mqzhangw and others added 30 commits November 21, 2017 03:49
# Conflicts:
#	repo/com/mrzhang/andcomponent/build-gradle/0.0.2/build-gradle-0.0.2.jar
#	repo/com/mrzhang/andcomponent/build-gradle/0.0.2/build-gradle-0.0.2.jar.md5
#	repo/com/mrzhang/andcomponent/build-gradle/0.0.2/build-gradle-0.0.2.jar.sha1
#	repo/com/mrzhang/andcomponent/build-gradle/maven-metadata.xml
#	repo/com/mrzhang/andcomponent/build-gradle/maven-metadata.xml.md5
#	repo/com/mrzhang/andcomponent/build-gradle/maven-metadata.xml.sha1
==
when one field except primitive type is notated with Autowired and announced to be required, DDComponentLib will output log for the error. if both announced to be required and throwOnNull: NullPointerException will be threw when missing  required params! **Caution to this feature!**
mqzhangw and others added 22 commits January 7, 2018 20:30
2、实现activity UI跳转使用Native方式来跳转
2、实现activity UI跳转使用Native方式来跳转
2、添加相应的注释便于理解代码
2、添加相应的注释便于理解代码
2、修复卸载组件的时候,点击Native方式出现空指针的异常
2、修复卸载组件的时候,点击Native方式出现空指针的异常
2、在sync前目前还未想到方法,暂时使用 android studio 中的 右键 Execute Before Sync
# Conflicts:
#	build-gradle/src/main/groovy/com.dd.buildgradle/ComBuild.groovy
@ouyangpeng ouyangpeng changed the title 添加相应注释,并且实现native方法来实现UI跳转 实现组件对内对外的代码都放在组件内部,对外的改后缀名为.api,编译之前自动copy&rename为.java文件 Jan 18, 2018
Copy link

@stfnt stfnt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very good

解决编译出现的bug:   
>java.lang.RuntimeException: java.io.IOException: Failed to delete E:....\build\intermediates\intermediate-jars\debug\classes.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants