Comments (3)
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.
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.
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)
- Classloader issues with version 1.8.4
- Plugin uploads artifact with the version from cmake HOT 1
- Feature Request: allow updating a published version to allow multi-platform releases HOT 3
- Flaky error - NoHttpResponseException: api.bintray.com:443 failed to respond
- Make BintrayPublishTask more friendly (have to use reflection) HOT 4
- No Jar Files Downloaded when Uploaded Library Applied as gradle dependencies HOT 1
- 'com.jfrog.bintray.gradle.tasks.BintrayUploadTask_Decorated' to class 'com.jfrog.bintray.gradle.tasks.BintrayUploadTask' HOT 1
- Fail to upload to bintray from subproject HOT 3
- Maven central sync credentials
- Importing from MavenLocal works but not from remote (lintPublish dependency) HOT 3
- Farzadsalahshour.salahshour
- Publish task is flaky for a large project
- Publish failing with 400 error but no debugging information HOT 3
- NPE trying to publish modules that donβt need to be published
- I would like to ask, what does 1 TB Downloads mean for an Open Source account?
- Cannot sync Bintray artifacts to JCenter: "POM project file is not valid" HOT 2
- Partial publications when subproject's bintrayUpload fails
- How to configure Kotlin multiplatform mobile library for bintray upload
- Gradle plugins should be published via the Gradle publish plugin
- Could not find org.codehaus.groovy.modules.http-builder:http-builder:0.7.2. HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-bintray-plugin.