File tree Expand file tree Collapse file tree 1 file changed +31
-29
lines changed
Expand file tree Collapse file tree 1 file changed +31
-29
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,36 @@ ZodKmp supports the following platforms:
2323- JS (JavaScript)
2424- Native (Linux, Windows, macOS)
2525
26+
27+ ## Installation
28+
29+ ### Gradle
30+
31+ Add the following to your ` build.gradle.kts ` :
32+
33+ ``` kotlin
34+ kotlin {
35+ sourceSets {
36+ val commonMain by getting {
37+ dependencies {
38+ implementation(" io.github.piashcse:zodkmp:1.0.0" )
39+ }
40+ }
41+ }
42+ }
43+ ```
44+
45+ ### Version Catalog (libs.versions.toml)
46+
47+ ``` toml
48+ [versions ]
49+ zodkmp = " 1.0.0"
50+
51+ [libraries ]
52+ zodkmp = { module = " io.github.piashcse:zodkmp" , version.ref = " zodkmp" }
53+ ```
54+
55+
2656## Table of Contents
2757
2858- [ Features] ( #features )
@@ -62,35 +92,7 @@ ZodKmp supports the following platforms:
6292- ✅ ** Extensible** - Easy to extend with custom validations
6393- ✅ ** Zero Dependencies** - Lightweight with minimal footprint
6494- ✅ ** Excellent Error Messages** - Detailed, customizable error reporting
65-
66- ## Installation
67-
68- ### Gradle
69-
70- Add the following to your ` build.gradle.kts ` :
71-
72- ``` kotlin
73- kotlin {
74- sourceSets {
75- val commonMain by getting {
76- dependencies {
77- implementation(" io.github.piashcse:zodkmp:1.0.0" )
78- }
79- }
80- }
81- }
82- ```
83-
84- ### Version Catalog (libs.versions.toml)
85-
86- ``` toml
87- [versions ]
88- zodkmp = " 1.0.0"
89-
90- [libraries ]
91- zodkmp = { module = " io.github.piashcse:zodkmp" , version.ref = " zodkmp" }
92- ```
93-
95+ -
9496## Getting Started
9597
9698ZodKmp allows you to define validation schemas and use them to validate data:
You can’t perform that action at this time.
0 commit comments