Retrofit——贡献代码和协议

来源:互联网 发布:淘宝网跳舞道具 编辑:程序博客网 时间:2024/06/15 18:01

今天讲Retrofit的最后一讲,明天开始,我们预计将RxJava。今天讲Retrofit可以通过GitHub贡献你自己的代码,以及Retrofit的开源协议。


贡献代码

如果您也想贡献代码,你可以通过GitHub来fork Retrofit仓库,并发送一个pull request。

当提交代码时,清尽最大努力去遵照现有的约定和代码风格,这样尽可能地保持代码的易读性。也请您确保你的代码使用mvn clean verify编译过。

在你的代码能被接受到项目中之前,你必须还要签订Individual Contributor License Agreement(CLA)。



许可协议

Copyright 2013 Square, Inc.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.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.


Retrofit Javadoc地址:

http://square.github.io/retrofit/2.x/retrofit/



Retrofit StackOverflow地址:

https://stackoverflow.com/questions/tagged/retrofit?sort=active

原创粉丝点击