-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from dybarsky/pr/maven
Add maven dependencies declaration docs
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## Maven | ||
|
||
If you have maven based kotlin project targeting jvm and can't use kotlin multiplatform dependency, you would need to add jvm targeting artifacts. | ||
|
||
Add the `maven.tryformation.com` repository: | ||
|
||
```xml | ||
<repositories> | ||
<repository> | ||
<id>try-formation</id> | ||
<name>kt search repository</name> | ||
<url>https://maven.tryformation.com/releases</url> | ||
</repository> | ||
</repositories> | ||
``` | ||
|
||
And then add dependencies to jvm targets: | ||
|
||
```xml | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.jillesvangurp</groupId> | ||
<artifactId>search-client-jvm</artifactId> | ||
<version>2.1.25</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.jillesvangurp</groupId> | ||
<artifactId>search-dsls-jvm</artifactId> | ||
<version>2.1.25</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.jillesvangurp</groupId> | ||
<artifactId>json-dsl-jvm</artifactId> | ||
<version>3.0.0</version> | ||
</dependency> | ||
</dependencies> | ||
``` | ||
**Note:** The `json-dsl` is moved to separate repository. To find the latest version number, check releases: https://github.com/jillesvangurp/json-dsl/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters