-
Notifications
You must be signed in to change notification settings - Fork 53
Modules with publishArtifact:=false should be ignored. #93
Comments
+1 |
Updated work-around (at least for me), in the root module that shouldn't be published:
|
The preferred flag for this is |
Or support both: |
Just checked that |
As I wrote in sbt/sbt#3136, |
Ref sbt/sbt#3136 Fixes sbt#93
Bintray plugin manages modules with publishArtifact:=false as if they were to be published. In that case, Bintray should ignore those modules.
The best example is when you are working in a multimodule project, so:
Currently, in both cases, this plugin tries to execute bintrayEnsureBintrayPackageExists, bintrayEnsureLicenses, etc.. when the artifact is not published, there are no licence info, etc.. So the process finish with error.
I created an example:
Tag with the configuration used to proof the possible bug: https://github.com/angelcervera/sbt-multimodule-template/tree/ISSUE1-proofbug
Workaround used: https://github.com/angelcervera/sbt-multimodule-template/tree/feature/ISSUE-1_bintray
The text was updated successfully, but these errors were encountered: