Coder Social home page Coder Social logo

Comments (3)

johnrengelman avatar johnrengelman commented on September 23, 2024

I also ran into this issue, but I don't think depending on the publish to local task is the correct answer. There's no need to install the files into your local M2 repository, you just need to execute the tasks that build the artifacts for the publication.

Based on the code in Gradle core, this what I've done:

project.afterEvaluate {
  bintray.publications.each { pub ->
    bintrayUpload.inputs.files { -> project.publishing.publications.getByName(pub).publisableFiles }  
  }
}

This plugin could configure the same.

from gradle-bintray-plugin.

NotJustAnna avatar NotJustAnna commented on September 23, 2024

Having the same issue.

When using Configuration-on-demand feature from Gradle, the bintrayUpload task don't have a dependency on the "publishPublicationToMavenLocal" task.

Manually fixed it by adding the workaround that @sponiro proposed for now.

from gradle-bintray-plugin.

sponiro avatar sponiro commented on September 23, 2024

This bug is now open for almost four years. I suggest documenting the workaround somewhere for people to apply if they want. This will not break existing code and still helps others.

from gradle-bintray-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.