All Projects → JoaquimLey → jcenter-config

JoaquimLey / jcenter-config

Licence: Apache-2.0 license
Painlessly publish your library/project to jcenter() with these simple scripts.

Projects that are alternatives of or similar to jcenter-config

Jitpack.io
Documentation and issues of https://jitpack.io
Stars: ✭ 2,156 (+16484.62%)
Mutual labels:  maven, jitpack, publish
sonatype-publish-plugin
Gradle Plugin for publishing artifacts to Sonatype and Nexus
Stars: ✭ 17 (+30.77%)
Mutual labels:  maven, publish
Gradle Nexus Plugin
Gradle plugin for configuring and uploading artifacts to Sonatype Nexus
Stars: ✭ 284 (+2084.62%)
Mutual labels:  maven, publish
bintray-upload-plugin
📦 Insanely easy way to upload your Android Library to Bintray/JCenter
Stars: ✭ 18 (+38.46%)
Mutual labels:  maven, jcenter
Aliyungradleconfig
自用的安卓开源项目工程模板。阿里云远程仓库加速,发布到maven仓库、上传到jcenter,代码混淆、资源混淆,持续集成(CI),多渠道自动打包。在天朝使用jcenter、mavenCentral及google三个远程仓库,Gradle Sync太慢?一招教你配置阿里云镜像源。init.d/init.gradle
Stars: ✭ 37 (+184.62%)
Mutual labels:  maven, publish
Telegrambots
Java library to create bots using Telegram Bots API
Stars: ✭ 2,728 (+20884.62%)
Mutual labels:  maven, jitpack
GradleMavenPush
Helper to upload Gradle Android Artifacts, Gradle Java Artifacts and Gradle Kotlin Artifacts to Maven repositories (JCenter, Maven Central, Corporate staging/snapshot servers and local Maven repositories).
Stars: ✭ 21 (+61.54%)
Mutual labels:  maven, jcenter
maven-buildtime-profiler
Maven Build Time Profiler
Stars: ✭ 41 (+215.38%)
Mutual labels:  maven
gradle-git-versioning-plugin
This extension will set project version, based on current Git branch or tag.
Stars: ✭ 44 (+238.46%)
Mutual labels:  maven
Corendon-LostLuggage
Java Application for automating the proces of retrieving lost luggages for the dutch airline company Corendon.
Stars: ✭ 27 (+107.69%)
Mutual labels:  maven
lagom-java-maven-chirper-example
No description or website provided.
Stars: ✭ 17 (+30.77%)
Mutual labels:  maven
bintray
简化发布Java/Android项目到Jcenter。
Stars: ✭ 38 (+192.31%)
Mutual labels:  jcenter
spring-cloud-stream-kafka-elasticsearch
The goal of this project is to implement a "News" processing pipeline composed of five Spring Boot applications: producer-api, categorizer-service, collector-service, publisher-api and news-client.
Stars: ✭ 44 (+238.46%)
Mutual labels:  maven
publish
Publish your module with one command in Deno.
Stars: ✭ 16 (+23.08%)
Mutual labels:  publish
Image-Slider-View
Slider is android library, which makes you bit more attractive for sliding images. It will be useful for displaying movie casting and crew pics, on-boarding pages etc.
Stars: ✭ 23 (+76.92%)
Mutual labels:  jitpack
sunshine
Sunshine allows you to manage suits of your automated tests directly from Java code.
Stars: ✭ 12 (-7.69%)
Mutual labels:  maven
eksi
Eksi sözlük crawl,stat , api calismalari
Stars: ✭ 25 (+92.31%)
Mutual labels:  maven
basepom
All the base POMs in the world.
Stars: ✭ 35 (+169.23%)
Mutual labels:  maven
Pokedex
Pokedex is a robust Discord bot that mimics the iconic Pokedex from the Pokemon games and show. It's loaded with features to help players of all skill levels to learn and better enjoy Pokemon! The goal of Pokedex is to provide users with as much data about the Pokemon games as they desire conveniently and with minimal effort.
Stars: ✭ 18 (+38.46%)
Mutual labels:  maven
autoplay
Gradle plugin for publishing Android artifacts to Google Play.
Stars: ✭ 204 (+1469.23%)
Mutual labels:  publish

jcenter-Config

Painlessly publish your library/project to jcenter() with these simple scripts.

Read more on the blog post: < WIP-Soon >

How to use

  • Copy/Add configs from the deploy.properties file to your local.properties file of your project, and change to your own settings (this is a config file) COPY HERE. You can find some examples/hints in the comments, but it's pretty straightforward.

  • Add the following lines to your .gitignore to prevent exposing sensitive data to your repository

      # Local configuration file (sdk path, etc)
      local.properties
    
  • On your project (root) build.gradle add the following lines:

      buildscript {
          repositories {
              jcenter()
          }
          dependencies {
              classpath 'com.android.tools.build:gradle:2.2.2'
              classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
          }
      }
      plugins {
          id "com.jfrog.bintray" version "1.7"
      }
      allprojects {
          repositories {
              jcenter()
          }
      }
    
  • On your library module's build.gradle add the following before the android{} closure:

      apply plugin: 'com.android.library'
      apply plugin: 'com.github.dcendents.android-maven'
      apply plugin: 'com.jfrog.bintray'
      
      android {
          compileSdkVersion 25
          buildToolsVersion "25.0.0"
          ...
      }
    
  • Finally at the end of the same library module gradle.build add:

      apply from: 'https://raw.githubusercontent.com/JoaquimLey/jcenter-config/master/deploy.gradle'
    

To publish run on your terminal

./gradlew clean libraryModuleName:bintrayUpload

Clean is optional but recommended.

Contributing

Contributions are always welcome! Follow the "fork-and-pull" Git workflow.

Issues: It's encoraged to open a unreported issues.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Merge with current development branch
  5. Push your work back up to your fork
  6. Submit a Pull request your changes can be reviewed (please refere the issue if reported)

Prevent code-style related changes (at least run Ctrl+⌥+O, ⌥+⌘+L) before commiting.

##Questions

I'm writing a blog post about this process, incldugin a step-by-step guide. In the meantimefor some reason still unable to publish you can or if you have any questions or always find me on twitter.

You can also find the official example here.

License

Copyright © 2016 Joaquim Ley

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].