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

Cannot invoke method setFrom() on null object #85

Open
LuZhengdong opened this issue Sep 9, 2020 · 1 comment
Open

Cannot invoke method setFrom() on null object #85

LuZhengdong opened this issue Sep 9, 2020 · 1 comment

Comments

@LuZhengdong
Copy link

image

这里的sourceDirectories is null,有人遇到过吗?

@ercanduman
Copy link

Firstly make sure that you have declared and initialized sourceDirs above and then you can try as below
reportTask.sourceDirectories.from = project.files(sourceDirs)

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