All Projects → panpf → Bintray Publish

panpf / Bintray Publish

Super easy way to publish your Android and Java artifacts to bintray.

Programming Languages

java
68154 projects - #9 most used programming language
groovy
2714 projects

Projects that are alternatives of or similar to Bintray Publish

Github-Release-Action
Publish Github releases in an action
Stars: ✭ 100 (+3.09%)
Mutual labels:  publishing, release, publish
sonatype-publish-plugin
Gradle Plugin for publishing artifacts to Sonatype and Nexus
Stars: ✭ 17 (-82.47%)
Mutual labels:  gradle, publishing, publish
wisdom
🎁 Tool for publishing releases to github and npm
Stars: ✭ 16 (-83.51%)
Mutual labels:  publishing, release, publish
Gradle Util Plugins
Fix for windows gradle long classpath issue. Fixes JavaExec tasks that error out with message "CreateProcess error=206, The filename or extension is too long"
Stars: ✭ 87 (-10.31%)
Mutual labels:  gradle, jar
apple-news
A Node.js client for interacting with the Apple News API 📰
Stars: ✭ 34 (-64.95%)
Mutual labels:  publishing, publish
vlsi-release-plugins
A set of plugins to simplify Gradle release tasks
Stars: ✭ 30 (-69.07%)
Mutual labels:  gradle, release
chrome-extension-upload
upload & publish extensions to the Chrome Web Store.
Stars: ✭ 35 (-63.92%)
Mutual labels:  upload, release
Axion Release Plugin
Gradle release & version management plugin.
Stars: ✭ 372 (+283.51%)
Mutual labels:  gradle, release
Cli
🆑📍 Setup automated semver compliant package publishing
Stars: ✭ 272 (+180.41%)
Mutual labels:  publish, release
Gradle Maven Publish Plugin
Gradle plugin that configures an uploadArchives task to automatically upload all of your Java, Kotlin or Android libraries to any Maven instance.
Stars: ✭ 392 (+304.12%)
Mutual labels:  gradle, publishing
Automatic Release
Automates the release process for GitHub projects.
Stars: ✭ 46 (-52.58%)
Mutual labels:  publish, release
Condition Travis
🚫 semantic-release plugin to check Travis CI environment before publishing.
Stars: ✭ 9 (-90.72%)
Mutual labels:  publish, release
Poosh
🌎 Publish local files to virtually any remote endpoint (e.g. AWS S3)
Stars: ✭ 55 (-43.3%)
Mutual labels:  publishing, upload
exec
🐚 semantic-release plugin to execute custom shell commands
Stars: ✭ 94 (-3.09%)
Mutual labels:  release, publish
prepublish
Simplifies the prepare step (bundling, transpiling, rebasing) during publishing NPM packages.
Stars: ✭ 21 (-78.35%)
Mutual labels:  release, publish
Gh Action Pypi Publish
GitHub Action, for publishing distribution files to PyPI
Stars: ✭ 317 (+226.8%)
Mutual labels:  upload, release
Please
please is semver release made easy
Stars: ✭ 72 (-25.77%)
Mutual labels:  publishing, release
xyz
Publish npm packages with fewer screw-ups
Stars: ✭ 101 (+4.12%)
Mutual labels:  release, publish
Release It
🚀 Automate versioning and package publishing
Stars: ✭ 4,773 (+4820.62%)
Mutual labels:  publish, release
Auto
Generate releases based on semantic version labels on pull requests.
Stars: ✭ 1,120 (+1054.64%)
Mutual labels:  publishing, release

bintray-publish

Platform Platform Platform License

Super easy way to publish your Android and Java artifacts to bintray.

The source code is from novoda/bintray-release, and the following improvements have been made:

  • Fixed a bug that did not support gradle 6.+
  • Replaced the deprecated api in the dependent android gradle plugin

Adding to project

This library has been published to jcenter and private repositories https://dl.bintray.com/panpf/maven/, you can freely choose where to download it

Add the following dependencies to your project build.gradle file:

buildscript {
    ...
    dependencies {
        classpath 'com.github.panpf.bintray-publish:bintray-publish:$LAST_VERSION'
    }
}

Please replace $LAST_VERSION with the latest version: Download

Add the following code to your module build.gradle file:

// must be applied after your artifact generating plugin (eg. java / com.android.library)
apply plugin: 'com.github.panpf.bintray-publish' 

Simple usage

Use the publish closure to set the info of your module build.gradle file:

publish {
    userOrg = 'panpf'
    groupId = 'com.github.pnapf.bintray-publish'
    artifactId = 'bintray-publish'
    publishVersion = '1.0.0'
    desc = 'Oh hi, this is a nice description for a project, right?'
    website = 'https://github.com/panpf/bintray-publish'
}

If you use Kotlin DSL use:

configure<com.github.panpf.bintray.publish.PublishExtension> {
  userOrg = "panpf"
  groupId = "com.github.pnapf.bintray-publish"
  artifactId = "bintray-publish"
  publishVersion = "1.0.0"
  desc = "Oh hi, this is a nice description for a project, right?"
  website = "https://github.com/panpf/bintray-publish"
}

Finally, use the task bintrayUpload to publish (make sure you build the project first!):

$ ./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false

More info on the available properties and other usages in the Github Wiki.

Note:

If you are using to release the android aar library, and need to temporarily publish aar to mavenLocal() and rely on it from mavenLocal(), and your Gradle version is 6.0+, then you may need to add the following configuration:

tasks.withType(GenerateModuleMetadata) {
    enabled = false
}

If you use Kotlin DSL use:

tasks.withType<GenerateModuleMetadata> {
    enabled = false
}

For specific details, please refer to the document aar_mavenlocal_gradle6_error.md

Compatibility

  • Gradle: 5.4.1+
  • Android gradle plugin: 3.5.0+

Known issues

Links

Here are a list of useful links:

  • If you have a problem check the Issues Page first to see if we are working on it
  • For further usage or to delve more deeply checkout the Github Wiki

Change Log

Please view the CHANGELOG.md file

License

Copyright (C) 2020 panpf <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.  
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].