Skip to content

Commit 96e792e

Browse files
committed
chore: Update README.md and docs/README.md
1 parent 7e129b0 commit 96e792e

File tree

3 files changed

+75
-22
lines changed

3 files changed

+75
-22
lines changed

.idea/workspace.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,7 @@
99

1010
follow the steps below to use the library in your project.
1111

12-
- [jitpack.io](https://jitpack.io/#Multiform-Validator/java) - Add the repository in your pom.xml
13-
14-
```xml
15-
<repositories>
16-
<repository>
17-
<id>jitpack.io</id>
18-
<url>https://jitpack.io</url>
19-
</repository>
20-
</repositories>
21-
```
22-
23-
```xml
24-
<dependency>
25-
<groupId>com.github.multiform-validator</groupId>
26-
<artifactId>java</artifactId>
27-
<version>0.0.4</version>
28-
</dependency>
29-
```
12+
- [jitpack.io](https://jitpack.io/#Multiform-Validator/java)
3013

3114
## Documentation
3215

docs/README.md

Lines changed: 73 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,41 @@
1313

1414
- [Multiform-Validator](https://github.com/Multiform-Validator/java/)
1515

16-
## How to install
16+
## 📦 Download / Installation
1717

1818
follow the steps below to use the library in your project.
1919

20-
- [jitpack.io](https://jitpack.io/#Multiform-Validator/java) - Add the repository in your pom.xml
20+
- [jitpack.io](https://jitpack.io/#Multiform-Validator/java) - Multiform Validator
21+
22+
<details>
23+
<summary>Gradle</summary>
24+
25+
Step 1. Add the JitPack repository to your build file
26+
Add it in your root build.gradle at the end of repositories:
27+
28+
```gradle
29+
dependencyResolutionManagement {
30+
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
31+
repositories {
32+
mavenCentral()
33+
maven { url 'https://jitpack.io' }
34+
}
35+
}
36+
```
37+
38+
Step 2. Add the dependency
39+
40+
```gradle
41+
dependencies {
42+
implementation 'com.github.Multiform-Validator:java:0.0.4'
43+
}
44+
```
45+
46+
</details>
47+
<details>
48+
<summary>Maven</summary>
49+
50+
Step 1. Add the JitPack repository to your build file
2151

2252
```xml
2353

@@ -29,14 +59,53 @@ follow the steps below to use the library in your project.
2959
</repositories>
3060
```
3161

62+
Step 2. Add the dependency
63+
3264
```xml
3365

3466
<dependency>
35-
<groupId>com.github.multiform-validator</groupId>
67+
<groupId>com.github.Multiform-Validator</groupId>
3668
<artifactId>java</artifactId>
3769
<version>0.0.4</version>
3870
</dependency>
39-
```
71+
```
72+
73+
</details>
74+
<details>
75+
<summary>Sbt</summary>
76+
77+
Step 1. Add the JitPack repository to your build file
78+
Add it in your build.sbt at the end of resolvers:
79+
80+
```sbt
81+
resolvers += "jitpack" at "https://jitpack.io"
82+
```
83+
84+
Step 2. Add the dependency
85+
86+
```sbt
87+
libraryDependencies += "com.github.Multiform-Validator" % "java" % "0.0.4"
88+
```
89+
90+
</details>
91+
92+
<details>
93+
<summary>Leiningen</summary>
94+
95+
Step 1. Add the JitPack repository to your build file
96+
Add it in your project.clj at the end of repositories:
97+
98+
```clojure
99+
:repositories [["jitpack" "https://jitpack.io"]]
100+
```
101+
102+
Step 2. Add the dependency
103+
104+
```clojure
105+
:dependencies [[com.github.Multiform-Validator/java "0.0.4"]]
106+
```
107+
108+
</details>
40109

41110
## Available methods - JAVA (0.0.4)v
42111

0 commit comments

Comments
 (0)