I sometimes, but not always, get the following message: Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0
Usually, Gradle is linking to some part of the documentation in case of deprecation warnings like this. But not in this case.
The message is mainly showing up after removing most of the stuff in ~/.gradle
Any ideas? And most importantly: what will break with Gradle 2.0?
But what would be the correct way to do this? The idea is that source and javadoc should only be built if an upload is performed.
This causes the following messages while executing uploadArchives:
:foo:bar:uploadArchives
Attempted to publish an artifact 'foo#bar;2.0.0-SNAPSHOT' that does not exist '[path]-sources.jar'. This behaviour has been deprecated and is scheduled to be removed in Gradle 2.0
Attempted to publish an artifact 'foo#bar;2.0.0-SNAPSHOT' that does not exist '[path]-javadoc.jar'. This behaviour has been deprecated and is scheduled to be removed in Gradle 2.0
Uploading: [artifact] to repository remote at http://10.200.54.135/nexus/content/repositories/snapshots
Transferring 11585K from remote
Uploaded 11585K
It’s not spam when your users are trying to raise legitimate issues. Yes, it is minor, but it should have its priority raised, since it should be a easy fix.
Broken Windows, or in other words, don’t let annoying issues linger.