Clone
Szczepan Faber <szczepiq@gmail.com>
committed
on 20 Mar 11
(GRADLE-1449) Improved ToolingApi so that it honors user's customizations of source folders. ToolingApi is using eclipse plugin's domain mod… Show more
(GRADLE-1449) Improved ToolingApi so that it honors user's customizations of source folders. ToolingApi is using eclipse plugin's domain model to get the proper source folders. This way the logic that understands gradle model and can translate it to eclipse model lives in single place (e.g. eclipse plugin). Details:

-since creation of eclipse model was getting complicated introduced a factory for that. It also improves testability

-eclipse plugin no longer need to keep state in eclipseProjectTask field (we can get it from parent's class project field)

-created / fixed corresponding integration tests

-creation of source folders in ToolingApi deserved a factory so it received one. Now it's cleaner & unit testing is possible

Show less

master + 423 more