java-gitlab-api
程序员文章站
2024-03-14 14:51:34
...
用java实现gitlab api
因为最近公司需要用到java实现gitlab api,网上找了很久没有找到合适的,索性自己写了一份。
gitlab版本:GitLab Community Edition 12.9.0
api版本:v4
jdk:8u101
maven依赖:
<dependencies>
<!-- 基本-->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>fluent-hc</artifactId>
<version>4.5.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.59</version>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations-java5</artifactId>
<version>RELEASE</version>
<scope>compile</scope>
</dependency>
</dependencies>
链接: Git地址.
需要的小伙伴可以star一下~
上一篇: MD5加密(编码)
下一篇: java MD5加密工具类
推荐阅读