Add main maven repo

This commit is contained in:
Anas Elgarhy 2022-03-25 20:56:49 +02:00
parent 81db7352c5
commit 7874cd0315

View file

@ -9,24 +9,15 @@
- Support text style.
### How to add this library into your project
#### Maven:
**Step 1**. Add the JitPack repository to your build file
**Step 1**. Add the dependency
```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```
**Step 2**. Add the dependency
```xml
<dependency>
<groupId>com.github.Anas-Elgarhy</groupId>
<artifactId>JColorfulConsole</artifactId>
<version>0.1.4</version>
</dependency>
<dependency>
<groupId>com.anas.jcolorfulconsole</groupId>
<artifactId>jcolorfulconsole</artifactId>
<version>0.1.4</version>
</dependency>
```
**Step 2**. run this command `mvn install`
#### Gradle:
**Step 1**. Add the JitPack repository to your build file<br>