Giter VIP home page Giter VIP logo

hynlibrepo's Introduction

#This is a demo for uploading lib to jcenter 主要参考发布一个库到jcenter

然而root下的build.gradle这个文件的配置:

classpath 'com.github.dcendents:android-maven-plugin:1.2'

会导致一个错误: stackoverflow上的一个问题

解决方案也在此提问下给出:

classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'

#发布 两个命令:
gradle install
gradle bintrayUpload
依次在Android Studio Terminal执行即可

#关于库的应用说明 引号内字符串以冒号分割为三部分,第一部分就是group,第二部分是name, 第三部分是上面定义的version

审核通过后,按照build.gradle里声明的组装即可:
compile 'com.huyn.repo:commonRepo:0.1.0'

hynlibrepo's People

Contributors

huyn avatar

Watchers

 avatar  avatar

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.