Code Monkey home page Code Monkey logo

publishtobintray's Introduction

Publish To Bintray / JCenter

A very simple script to publish aar/jar to bintray/jcenter or common maven server

How to use

  1. edit build.gradle file in your project and add lines below:
apply from: 'https://raw.githubusercontent.com/Rysle/PublishToBintray/master/publish.gradle'
  1. create a new file named publish.properties in the same folder with build.gradle

  2. edit publish.properties and add lines below

# Group Id
POM_GROUP_ID=com.rysle.demo

# Artifact ID
POM_ARTIFACT_ID=library

# Artifact Version
POM_VERSION=0.0.1

# Artifact Packaging, i.e aar
POM_PACKAGING=aar

# Product Name
POM_NAME=Library Template

# Product Description
POM_DESCRIPTION=For Demo Only

# Product Url
POM_URL=https://github.com/Rysle/Library

# License, change to whatever you like
POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo

# Developer Info
POM_DEVELOPER_ID=Rysle
POM_DEVELOPER_NAME=Sky Lin
POM_DEVELOPER_EMAIL=N/A
POM_DEVELOPER_ORG=individual

# Project Url
POM_SCM_URL=https://github.com/Rysle/Library

# Project VCS Url
POM_SCM_CONNECTION=scm:git:git@github.com:Rysle/Library.git

# Project VCS Url
POM_SCM_DEV_CONNECTION=scm:git:git@github.com:Rysle/Library.git


# Maven Repo for Release
RELEASE_REPOSITORY_URL=

# Maven Repo for Snapshot
SNAPSHOT_REPOSITORY_URL=

# Maven Repo Username
REPOSITORY_USERNAME=

# Maven Repo Password
REPOSITORY_PASSWORD=


# Bintray Username
BINTRAY_USER_NAME=

# Bintray Maven Repo Name
BINTRAY_REPO_NAME=maven

# Bintray Package Name
BINTRAY_PKG_NAME=com.rysle.demo:library


# Where to publish to, can be bintray/local
SERVER=bintray

# Is this a snapshot build?
SNAPSHOT=false

# Should we upload artifacts after assembleRelease task?
AUTO_UPLOAD=false

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.