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

Task with path ':sample-app:assemblePluginDebug' not found in project ':sample-app' #1058

Open
chenlin139 opened this issue Sep 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@chenlin139
Copy link

source中sample-app模块增加自定义flavor,执行packageDebugPlugin编译报错Task with path ':sample-app:assemblePluginDebug' not found in project ':sample-app'

flavorDimensions(*flavorDimensionList,'env')
productFlavors{
dev {
dimension "env"
}
}

@shifujun
Copy link
Collaborator

这里也要同步修改:

buildTask = ':sample-app:assemblePluginDebug'

这里没实现自动关联buildTask主要是因为buildTask在项目中不经常变化,实现略麻烦。

@shifujun shifujun added the enhancement New feature or request label Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants