-
Notifications
You must be signed in to change notification settings - Fork 569
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
ouyangpeng
wants to merge
58
commits into
luojilab:master
Choose a base branch
from
ouyangpeng:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ouyangpeng
commented
Jan 16, 2018
•
edited
Loading
edited
- 1、实现组件对内对外的代码都放在组件内部,对外的改后缀名为.api,编译之前自动copy&rename为.java文件。
- 2、内部有具体的实现Native方式(不使用Annotation)来进行UI跳转,这部分可忽略。
- 3、添加了相应的注释来理解代码。
- 4、maven上传的脚本 编译时候打不开,放到本地了。
# 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!**
2、实现activity UI跳转使用Native方式来跳转
2、实现activity UI跳转使用Native方式来跳转
2、添加相应的注释便于理解代码
2、添加相应的注释便于理解代码
2、修复卸载组件的时候,点击Native方式出现空指针的异常
2、修复卸载组件的时候,点击Native方式出现空指针的异常
2、在sync前目前还未想到方法,暂时使用 android studio 中的 右键 Execute Before Sync
2、添加新的.api文件,用于测试copy过程是否正常
# Conflicts: # build-gradle/src/main/groovy/com.dd.buildgradle/ComBuild.groovy
ouyangpeng
changed the title
添加相应注释,并且实现native方法来实现UI跳转
实现组件对内对外的代码都放在组件内部,对外的改后缀名为.api,编译之前自动copy&rename为.java文件
Jan 18, 2018
2、如果是sync的话,则读取所有组件中的.api文件 3、如果是某个组件单独运行的话,则只扫描该组件所依赖的组件中的.api文件以及自己组件中的.api文件
stfnt
reviewed
Feb 28, 2019
There was a problem hiding this 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.