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

创建鸿蒙工程的模板中存在冗余配置 #1

Open
bingoogolapple opened this issue Sep 20, 2020 · 1 comment
Open

创建鸿蒙工程的模板中存在冗余配置 #1

bingoogolapple opened this issue Sep 20, 2020 · 1 comment

Comments

@bingoogolapple
Copy link
Owner

  • rootProject/build.gradle 里没必要依赖 ohos 插件和配置 extension,在 module/build.gradle 里依赖插件并配置 extension 即可
    image
@bingoogolapple
Copy link
Owner Author

bingoogolapple commented Sep 20, 2020

  • rootProject/build.gradle 里还是必要依赖 ohos 插件和配置 extension 的,目的是为 rootProject 提供 cleanProject 任务,否则 DevEco 执行「Build -> Clean Project」会失败
    image

image
image

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

1 participant