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

Could not determine the dependencies of task ':app:mergeXXXDebugResources'. 编译失败 #89

Open
JarvisBuop opened this issue May 5, 2023 · 0 comments

Comments

@JarvisBuop
Copy link

当自定义处理依赖规则,会出现这种问题,关闭此插件可编译成功。

问题可能原因:

com.smallsoho.mcplugin.image.ImagePlugin#apply 120行代码

(project.tasks.findByName(chmodTask.name) as Task).dependsOn(mergeResourcesTask.taskDependencies.getDependencies(mergeResourcesTask))

截屏2023-05-05 上午10 52 30

这里意思是所有项目都被evaluate才能使用,如果自定义了规则就会编译报错;

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