Giter VIP home page Giter VIP logo

bintray's People

Contributors

ysb33r avatar

Watchers

 avatar  avatar

bintray's Issues

API support to create packages if they do not exist on Bintray

Currently packages need to be created by hand on Bintray before uploading a version. It would be nice to be automatially do this. Adding an optional property autoCreatePackage would be good, but it needs to default to false for backwards compatility.

Could not find property 'bintray' on uploadArchives

Hi there,
I'm having the following problem trying to use the uploadArchives task:

What went wrong:
Execution failed for task ':XYZ-services:uploadArchives'.
Could not find property 'bintray' on task ':XYZ-services:uploadArchives'.


classpath 'org.ysb33r.gradle:bintray:1.3'

Relevant code:

import org.ysb33r.gradle.bintray.BintrayGenericUpload

apply plugin: 'java'
apply plugin : 'bintray-publish'

task uploadArchives (type: BintrayGenericUpload) {
    username    'username'
    apiKey      'somekey'
    repoOwner   'someOrg'
    repoName    'binaries'
    packageName 'my-package'
    version      '0.9.2'
    // 'sources' can be called more than once
    sources "${buildDir}/libs/${project.name}.jar"
}

if I use org.ysb33r.gradle:bintray:1.2 I don't have this error (I cannot upload either...). Looking at the code, I'm not seeing where the bintray variable/property is declared in the code:
https://github.com/ysb33r/bintray/blob/master/gradle-plugin/src/main/groovy/org/ysb33r/gradle/bintray/BintrayGenericUpload.groovy#L140

Can you check it please?
Thank you!

BintrayGenericUpload fails with missingPropertyException

Caused by: groovy.lang.MissingPropertyException: Could not find property 'bintray' on task ':cmdline:uploadArchives'.
    at org.gradle.api.internal.AbstractDynamicObject.propertyMissingException(AbstractDynamicObject.java:43)
    at org.gradle.api.internal.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:35)
    at org.gradle.api.internal.CompositeDynamicObject.getProperty(CompositeDynamicObject.java:94)
    at org.ysb33r.gradle.bintray.BintrayGenericUpload_Decorated.getProperty(Unknown Source)
    at org.ysb33r.gradle.bintray.BintrayGenericUpload.exec(BintrayGenericUpload.groovy:140)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:218)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)
    at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:570)
    at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:553)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
    ... 47 more

Transparent integration in repositories so that snapshots and production are automatically switched between oss.jfrog and Bintray.

Currenly one has to setup special Artiectory tasks to do this. It will be nice it it can be set up more transparently by extending bintrayMavenDeployer i.e.

bintrayMavenDeployer {
  username    'someBintrayUser'
  apiKey      'SomeBintrayUsersApiKey'
  repoOwner   'ysb33r'
  repoName    'grysb33r'
  packageName 'someNewPackageToBePublished'
  description 'This is an example to simplifying bintray publishing'
  descUrl     'https://github.com/ysb33r/Gradle/blob/master/bintray/README.md'
  tags        'gradle','bintray'
  // Adding this property which will default to false (for backwards compatibility)
  publishSnapshotsToOssJFrog true
  // Adding an optional key which will default to 'oss-snapshot-local'
  // Will be ignored if publishSnapshotsToOssJFrog is false
  snapshotKey 'oss-snapshot-local'
 }```

Add MD5s to Generic Repositories

Have the option of calculating and uploading MD5s as part of the Generic Repository upload process.

A md5 property is recommended, defaulting to true

Also adding sha1 and sha256, defaulting to false would be good.

Ability to auto-publish to Bintray

Currenlt one has to go to Bintray to publish artefacts after they have been upload. there is definite a quality benefit in this manual step, but it would still be nice if it was possible to auto-publish under certain circumstances.

Adding an optional autoPublish property would be great, but it should default to false for backwards compatibility.

how to easily enable logging

I inherited a project that is using your bintray client. All of the groovy code written is using log4j loggers that are created when the class is instantiated. Is there a way to capture the bintray client and httpbuilder logging into this same log? My end goal is that the logging is setup in my jar when deployed to a remote system. That system is having issues but I cannot get any of the log details from the client currently.

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.