[GRADLE-2033] Gradle can't find sonar plugin Created: 06/Jan/12  Updated: 30/Apr/15  Resolved: 30/Apr/15

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-7
Fix Version/s: None

Type: Bug
Reporter: Alexandr Kulik Assignee: Unassigned
Resolution: Not A Bug Votes: 0

Attachments: Zip Archive sonar-plugin-problem.zip    


After upgrading to 1.0-milestone-7 sonar plugin stop to work.
If you execute gradle tasks at attached project you will receive:

FAILURE: Build failed with an exception.

Build file '/Developer/sonar-plugin-problem/build.gradle' line: 1

What went wrong:
A problem occurred evaluating root project 'sonar-plugin-problem'.
Cause: Plugin with id 'sonar' not found.

Run with -s or -d option to get more details. Run with -S option to get the full (very verbose) stacktrace.


1.0-milestone-6 process plugin without any problem

Comment by Peter Niederwieser [ 13/Jan/12 ]

Please delete <root project dir>/.gradle and <user home>/.gradle/caches (you don't have to delete caches/artifacts-x). Does it make a difference? No changes were made to the Sonar plugin in m7. If this doesn't solve the problem, please run with -s and post the full stack trace.

PS: I don't get any error when running "gradle tasks".

Comment by Alexandr Kulik [ 13/Jan/12 ]

Thanks a lot after deleting <user home>/.gradle/caches it works fine.

Comment by Julien HENRY [ 28/Apr/15 ]

Maybe this ticket can be closed?

Generated at Wed Jun 30 12:10:58 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.