[GRADLE-838] Can't make DefaultRepositoryHandler dynamic Created: 03/Mar/10  Updated: 04/Jan/13  Resolved: 24/Nov/10

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 0.9-rc-1

Type: Bug
Reporter: Hans Dockter Assignee: Adam Murdoch
Resolution: Fixed Votes: 0


After removing @NoDynamicObject in DefaultRepositoryHandler a couple of tests start failing. There is the following bug:

The Maven plugin adds for example the following: installUpload.getRepositories().mavenInstaller(WrapUtil.toMap("name", RepositoryHandler.DEFAULT_MAVEN_INSTALLER_NAME));

With @NoDynamicObject I can access: repositories."$RepositoryHandler.DEFAULT_MAVEN_INSTALLER_NAME"

Without the annotation the above does not work any longer. Without the annotation the ContainerDynamicObject seems no longer to be taken into consideration.

Generated at Wed Jun 30 11:40:14 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.