GithubHelp home page GithubHelp logo

jcenter's Introduction

JCenter

build scripts to upload artifacts to jcenter.

From In The Cheese Factory blog post

Prerequisites

Read the blog post linked above first. You need to have following properties, how to get that is described in the post.

Personal or ownership information

  • bintrayUser (A Bintray user name)
  • bintrayApiKey (Bintray API key)
  • bintrayGpgPassword (A GPG signing mechanism, and it's passphrase)
  • DEVELOPER_EMAIL (developer email)

Library information

  • GROUP(Group id of your library)
  • POM_ARTIFACT_ID (POM Artifact Id-better to keep it in lowercase)
  • POM_NAME
  • POM_DESCRIPTION
  • POM_URL
  • POM_DEVELOPER_ID
  • POM_DEVELOPER_NAME
  • DEVELOPER_EMAIL
  • POM_SCM_URL

Where should I keep these properties?

If you put these information in gradle.properties this script can read it easily.

The best place to put Personal or ownership information in system's build.gradle file, so that it does not go with source control. For windows it's located at C:\Users{UserName}.gradle\gradle.properties

For Library information it's better to create gradle.properties in your library module and put all the information there.

Is there any example?

Yes, See android external file writer repository

Everything is set, what should I do to upload a file in bintray.

Just open a command prompt, cd to your library directory and run ..\gradlew clean build bintrayUpload

jcenter's People

Contributors

nuuneoi avatar prashamtrivedi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

limych

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.