The constructor of com.trigonic.gradle.plugins.rpm.Rpm creates aliases as dynamic properties for various redline enums (architecture, OS, etc.). This causes a lot of deprecation warnings in gradle 1.0-M9.
These aliases should be moved to an extension object of the task (e.g. the default called 'ext') and be created using the org.gradle.api.plugins.ExtraPropertiesExtension API instead of the deprecated setProperty method.
Also com.trigonic.gradle.plugins.rpm.RpmPlugin creates a dynamic property called 'Rpm' in the project object. This should be changed as well.
The constructor of
com.trigonic.gradle.plugins.rpm.Rpm
creates aliases as dynamic properties for various redline enums (architecture, OS, etc.). This causes a lot of deprecation warnings in gradle 1.0-M9. These aliases should be moved to an extension object of the task (e.g. the default called 'ext') and be created using theorg.gradle.api.plugins.ExtraPropertiesExtension
API instead of the deprecatedsetProperty
method.Also
com.trigonic.gradle.plugins.rpm.RpmPlugin
creates a dynamic property called 'Rpm' in the project object. This should be changed as well.