Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Gradle 2.0 will deprecated dynamic properties #30

Closed
hrstoyanov opened this issue May 10, 2014 · 1 comment
Closed

Gradle 2.0 will deprecated dynamic properties #30

hrstoyanov opened this issue May 10, 2014 · 1 comment

Comments

@hrstoyanov
Copy link

Steffen,
I can not thank you enough for this awesome, wonderful GWT plug-in! As a "tank you" though, I will just keep on filing issues and complaining :-)

Here is something I noticed in Gradle 1.12 - you may have to take some action before they release Gradle 2.0:
...
Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties.
Deprecated dynamic property: "noServer" on "de.richsource.gradle.plugins.gwt.GwtPluginExtension_Decorated@5a622fe8", value: "true".
Deprecated dynamic property: "startUrl" on "de.richsource.gradle.plugins.gwt.GwtPluginExtension_Decorated@5a622fe8", value: "index.jsp".

@steffenschaefer
Copy link
Owner

As you already mentioned in #32 the property is named "noserver" instead of "noServer". As far as I remember the other parameter is named "startupUrl".

The warning only occurs if you use properties that don't exist. Gradle used to define "dynamic" properties on demand. But as this leads to crazy effects this feature will be removed in Gradle 2.0. The plugin should not create any dynamic properties, so this change should be fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants