Git Product home page Git Product logo

panda.android's Introduction

panda.android

目标

提供一个完善的Android App应用开发库。其特质为 提升开发效率、缩短开发工期、降低维护成本。

引入方式

  1. 在项目的build.gradle中添加maven url。
allprojects {
    repositories {
        jcenter()
        // 这句是重点,重点,重点
        maven { url "https://github.com/tianci-panda/mvn-repo/raw/master/" }
    }
}
  1. 在应用模块的build.gradle中添加库的引用
    compile 'panda.android:lib:0.1.2016032102@aar'
    compile 'com.android.support:support-v4:22.+'
    compile 'com.android.support:appcompat-v7:22.+'
    compile 'com.jakewharton:butterknife:7.0.1'
    compile 'de.greenrobot:eventbus:2.4.0'
    compile 'com.google.code.gson:gson:2.2.4'
    compile 'com.readystatesoftware.systembartint:systembartint:1.0.3'
    compile 'com.umeng.analytics:analytics:latest.integration'
    compile 'in.srain.cube:ultra-ptr:1.0.11'
    compile('com.weiwangcn.betterspinner:library:1.1.0') {
        exclude group: 'com.android.support', module: 'appcompat-v7'
    }
    compile 'net.danlew:android.joda:2.9.1'

知识沉淀

财富自由·技术·Android

如何为PandaAndroidLib贡献代码

初级贡献者:new pull request

  1. 注册git账号。
  2. fork panda.android ,下载到本地,记下本地地址,比如:/Users/shitianci/work/Lab/panda.android
  3. 本地修改,同步到自己的repo后。创建pull request,发送给panda.android。

中级贡献者:Collaborators

  • 将git账号发送给Panda,成为项目的Collaborators。
  • 直接在panda.android的dev分支下开发即可。

高级贡献者:同步维护aar包的编译和发布

  • 取得mvn-repo的修改权限。
  • clone mvn-repo到本机。
  • 找到PandaAndroidLib下的gradle.properties,进行发布配置。
# **mvn-repo**的本机目录
aar.deployPath=/Users/shitianci/work/Lab/mvn-repo
# VersionCode的格式为 发布当天的yyyyMMDD+自增长的两位数
VERSION_CODE=2016032102
# VersionName的格式为 大版本.小版本.VersionCode
VERSION_NAME=0.1.2016032102
  • 执行./gradlew :PandaAndroidDemo:uploadArchives
  • 将生成文件同步到mvn-repo即可。

panda.android's People

Contributors

shitianci avatar tianci avatar olivinevip avatar

Watchers

 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.