There is a SO post regarding this: http://stackoverflow.com/questions/12934598/what-does-the-message-relying-on-packaging-to-define-the-extension-of-the-main
- Casey On Wed, Apr 9, 2014 at 5:35 AM, Xavier Ducrohet [via Gradle] < ml-node+s1045684n5712564...@n5.nabble.com> wrote: > When building a project that depends on an aar artifact I see the warning: > > Relying on packaging to define the extension of the main artifact has been > deprecated and is scheduled to be removed in Gradle 2.0 > > I'd like to fix this ASAP since 2.0 will be coming soon, but I'm not sure > how to do this. > > At first I thought it was due to querying ResolvedArtifact.getType() in my > code but that doesn't seem to be it. > > The message seems to come > from GradlePomModuleDescriptorBuilder.addMainArtifact, where it outputs the > message whenever your artifact packaging value is different from pom and > jar. > > Is there something I can/need to fix in preparation for 2.0? If so, how? > > thanks > Xav > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://gradle.1045684.n5.nabble.com/Relying-on-packaging-to-define-the-extension-of-the-main-artifact-tp5712564.html > To start a new topic under gradle-dev, email > ml-node+s1045684n1436218...@n5.nabble.com > To unsubscribe from gradle-dev, click > here<http://gradle.1045684.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1436218&code=Y2FzZXkubWNnaW50eUBnbWFpbC5jb218MTQzNjIxOHwxOTQ0Njk0NjE=> > . > NAML<http://gradle.1045684.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://gradle.1045684.n5.nabble.com/Relying-on-packaging-to-define-the-extension-of-the-main-artifact-tp5712564p5712567.html Sent from the gradle-dev mailing list archive at Nabble.com.