Cannot launch gradle task : error in Initialization script ijresolvers1
已回答
When I try to run a gradle task in my project, I have this error
FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\TATHAN\AppData\Local\Temp\ijresolvers1.gradle' line: 249
* What went wrong:
Failed to notify task execution graph listener.
> Cannot get property 'logger' on null object
> Cannot get property 'logger' on null object
I have tried modifing the file, set a logger value in my build.gradle, changing java version
My Build.gradle https://code.litarvan.com/ecubohat.kotlin
请先登录再写评论。
Hello!
Thank you for reporting this!
Unfortunately, I have not been able to reproduce the issue with the build script provided.
Would you be able to share the affected Project or its build scripts (
build.gradle.kts,settings.gradle.kts, etc.) preserving their directory structure for further investigation?Does the issue persist when you run Gradle directly from the OS Command Prompt?
I've encountered the exact same error when I double-click to run a task in a gradle window, but not if I run it from the command line
Hi iadailiang
Would you be able to share the affected Project or its build scripts (
build.gradle.kts,settings.gradle.kts, etc.) preserving their directory structure for further investigation?Does the issue persist when you run Gradle directly from the OS Command Prompt?
Sorry, We are on holidays, and it may take 5-8 days to provide you with the information you need.If you need any other information, please let me know at any time, and I can provide it to you at the same time.
Hi iadailiang
Thanks for the prompt reply. For the moment, the requested is all we need.
I'll keep an eye out for your comments to get the information.
Hello,
have you resolved this issue? I encountered the same issue.
Thank you