From b467743c2aebef049f127795905ad9bb2556866d Mon Sep 17 00:00:00 2001 From: CarmJos Date: Thu, 2 Jun 2022 21:51:43 +0800 Subject: [PATCH] =?UTF-8?q?docs(repo):=20=E4=BF=AE=E6=94=B9=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=BA=93=E5=9C=B0=E5=9D=80=E4=BB=8B=E7=BB=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7fa240f..f4150ea 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ # EasySQL [![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) [![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) @@ -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) 。 ### 依赖方式 @@ -55,9 +55,16 @@ Maven Central https://repo1.maven.org/maven2 - + - + + EasySQL + GitHub Branch Repository + https://github.com/CarmJos/EasySQL/blob/repo/ + + + + EasySQL GitHub Packages https://maven.pkg.github.com/CarmJos/EasySQL @@ -141,8 +148,11 @@ repositories { // 采用Maven中心库,安全稳定,但版本更新需要等待同步 mavenCentral() - - // 采用github依赖库,实时更新,但需要配置 (推荐) + + // 采用github的repo分支依赖,实时更新。 (推荐) + maven { url 'https://github.com/CarmJos/EasySQL/blob/repo/' } + + // 采用github依赖库,安全稳定,但需要配置 maven { url 'https://maven.pkg.github.com/CarmJos/EasySQL' } // 采用我的私人依赖库,简单方便,但可能因为变故而无法使用 @@ -194,8 +204,6 @@ dependencies { 感谢您对开源项目的支持! - - ## 开源协议 本项目源码采用 [The MIT License](https://opensource.org/licenses/MIT) 开源协议。