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

关于架构设计问题,怎么解决增量生成Java文件的问题? #377

Open
5 tasks done
splm opened this issue Aug 20, 2020 · 2 comments
Open
5 tasks done

Comments

@splm
Copy link

splm commented Aug 20, 2020

Look at here

  • → Did you conform to the Rules?
  • → Did you read the Wiki Carefully?
  • → Did you search in Google?
  • → Did you search in openned&closed Issues?
  • Receive only bugs and suggestions

Environment

  • MVPArms Version:
  • AndroidStudio Version:
  • Gradle Plugin Version:
  • Target Android Version:
  • Device Model:

Bug Description:

Related Code:

  

Bug Log:



Others:

作者你好,如果我的issue格式不符合要求,请见谅。
接触到你的代码,感觉设计思路很好,也解决了很多问题,插件的使用更像是一个脚手架。但有一个问题:在编译期生成的Java文件是增量生成还是每次都重新生成的?如果是增量,又怎么解决的虚拟机编译的问题。

@splm splm changed the title 关于架构设计问题,怎么解决增量编译的问题? 关于架构设计问题,怎么解决增量生成Java文件的问题? Aug 20, 2020
@AlexFugui
Copy link

老铁这个取决于你的AS版本和你运行方式
与框架无关,如果想保证每次都是重新编译,不要使用install run 或者直接打包运行

@splm
Copy link
Author

splm commented Sep 22, 2020

老铁这个取决于你的AS版本和你运行方式
与框架无关,如果想保证每次都是重新编译,不要使用install run 或者直接打包运行

兄弟,我的的意思怎么解决增量生成Java文件,现在我看作者的做法是每次都会重新产生新的Java文件,比如A类加了注解,并成功自动生成a1类,此时如果再次build,即使A类没有任何修改,a1类还是会重新创建一遍。

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

No branches or pull requests

2 participants