1
mirror of https://github.com/CarmJos/EasySQL.git synced 2024-09-19 21:35:47 +00:00

docs(repo): 修改依赖库地址介绍

This commit is contained in:
Carm Jos 2022-06-02 21:51:43 +08:00
parent 3979c6d50c
commit b467743c2a

View File

@ -10,7 +10,7 @@
# EasySQL # EasySQL
[![version](https://img.shields.io/github/v/release/CarmJos/EasySQL)](https://github.com/CarmJos/EasySQL/releases) [![version](https://img.shields.io/github/v/release/CarmJos/EasySQL)](https://github.com/CarmJos/EasySQL/releases)
[![License](https://img.shields.io/github/license/CarmJos/EasySQL)](https://opensource.org/licenses/GPL-3.0) [![License](https://img.shields.io/github/license/CarmJos/EasySQL)](https://opensource.org/licenses/MIT)
[![workflow](https://github.com/CarmJos/EasySQL/actions/workflows/maven.yml/badge.svg?branch=master)](https://github.com/CarmJos/EasySQL/actions/workflows/maven.yml) [![workflow](https://github.com/CarmJos/EasySQL/actions/workflows/maven.yml/badge.svg?branch=master)](https://github.com/CarmJos/EasySQL/actions/workflows/maven.yml)
[![CodeFactor](https://www.codefactor.io/repository/github/carmjos/easysql/badge)](https://www.codefactor.io/repository/github/carmjos/easysql) [![CodeFactor](https://www.codefactor.io/repository/github/carmjos/easysql/badge)](https://www.codefactor.io/repository/github/carmjos/easysql)
![CodeSize](https://img.shields.io/github/languages/code-size/CarmJos/EasySQL) ![CodeSize](https://img.shields.io/github/languages/code-size/CarmJos/EasySQL)
@ -18,7 +18,7 @@
简单便捷的数据库操作工具,可自定义连接池来源。 简单便捷的数据库操作工具,可自定义连接池来源。
随项目分别提供 [BeeCP](https://github.com/Chris2018998/BeeCP) 与 [Hikari](https://github.com/brettwooldridge/HikariCP~~~~) 随项目分别提供 [BeeCP](https://github.com/Chris2018998/BeeCP) 与 [Hikari](https://github.com/brettwooldridge/HikariCP)
两个连接池的版本。 两个连接池的版本。
## 优势 ## 优势
@ -35,7 +35,7 @@
### 示例代码 ### 示例代码
您可以 [点击这里](example/easysql-demo/src/main/java/EasySQLDemo.java) 查看部分代码演示,更多演示详见 [开发介绍](.documentation/README.md) 。 您可以 [点击这里](demo/src/main/java/EasySQLDemo.java) 查看部分代码演示,更多演示详见 [开发介绍](.documentation/README.md) 。
### 依赖方式 ### 依赖方式
@ -57,7 +57,14 @@
</repository> </repository>
<repository> <repository>
<!--采用github依赖库实时更新但需要配置 (推荐) --> <!--采用github的repo分支依赖实时更新。 (推荐)-->
<id>EasySQL</id>
<name>GitHub Branch Repository</name>
<url>https://github.com/CarmJos/EasySQL/blob/repo/</url>
</repository>
<repository>
<!--采用github packages依赖库安全稳定但需要配置 -->
<id>EasySQL</id> <id>EasySQL</id>
<name>GitHub Packages</name> <name>GitHub Packages</name>
<url>https://maven.pkg.github.com/CarmJos/EasySQL</url> <url>https://maven.pkg.github.com/CarmJos/EasySQL</url>
@ -142,7 +149,10 @@ repositories {
// 采用Maven中心库安全稳定但版本更新需要等待同步 // 采用Maven中心库安全稳定但版本更新需要等待同步
mavenCentral() mavenCentral()
// 采用github依赖库实时更新但需要配置 (推荐) // 采用github的repo分支依赖实时更新。 (推荐)
maven { url 'https://github.com/CarmJos/EasySQL/blob/repo/' }
// 采用github依赖库安全稳定但需要配置
maven { url 'https://maven.pkg.github.com/CarmJos/EasySQL' } maven { url 'https://maven.pkg.github.com/CarmJos/EasySQL' }
// 采用我的私人依赖库,简单方便,但可能因为变故而无法使用 // 采用我的私人依赖库,简单方便,但可能因为变故而无法使用
@ -194,8 +204,6 @@ dependencies {
感谢您对开源项目的支持! 感谢您对开源项目的支持!
<img height=25% width=25% src="https://raw.githubusercontent.com/CarmJos/CarmJos/main/img/donate-code.jpg" alt=""/>
## 开源协议 ## 开源协议
本项目源码采用 [The MIT License](https://opensource.org/licenses/MIT) 开源协议。 本项目源码采用 [The MIT License](https://opensource.org/licenses/MIT) 开源协议。