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

gradle怎么用static-codegen maven插件生成代码? #33

Closed
maoxianfly opened this issue Feb 6, 2017 · 2 comments
Closed

gradle怎么用static-codegen maven插件生成代码? #33

maoxianfly opened this issue Feb 6, 2017 · 2 comments

Comments

@maoxianfly
Copy link

gradle怎么用static-codegen maven插件生成代码?

@taowen
Copy link
Contributor

taowen commented Feb 6, 2017

gradle 可以调用 java 进程吗?java com.jsoniter.StaticCodeGenerator -classpath xxx com.jsoniter.demo.DemoCodegenConfig

其实就是执行了com.jsoniter.StaticCodeGenerator 的main函数,参数是一个字符串com.jsoniter.demo.DemoCodegenConfig

@maoxianfly
Copy link
Author

@taowen
明白了,谢谢。

@taowen taowen closed this as completed Feb 6, 2017
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