Skip to content

Commit 929a527

Browse files
committed
docs: add example of adding package to the build.gradle.kts file
1 parent 0240e42 commit 929a527

File tree

2 files changed

+44
-12
lines changed

2 files changed

+44
-12
lines changed

README.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,32 @@ Add this dependency to your project's POM:
6161

6262
### Gradle users
6363

64-
Add this dependency to your project's build file:
64+
Add this dependency to your project's build file(`build.gradle` or `build.gradle.kts`):
6565

6666
```groovy
67-
repositories {
68-
maven { url 'https://jitpack.io' }
69-
}
67+
// build.gradle
68+
repositories {
69+
maven { url 'https://jitpack.io' }
70+
}
71+
72+
dependencies {
73+
implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v6.0.1"
74+
}
75+
```
7076

71-
dependencies {
72-
implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v6.0.1"
77+
78+
```kotlin
79+
// build.gradle.kts
80+
81+
repositories {
82+
maven {
83+
url = uri("https://jitpack.io")
7384
}
85+
}
86+
87+
dependencies {
88+
implementation("com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v6.0.1")
89+
}
7490
```
7591

7692
### Others

template/README.mustache

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,32 @@ Add this dependency to your project's POM:
6161

6262
### Gradle users
6363

64-
Add this dependency to your project's build file:
64+
Add this dependency to your project's build file(`build.gradle` or `build.gradle.kts`):
6565

6666
```groovy
67-
repositories {
68-
maven { url 'https://jitpack.io' }
69-
}
67+
// build.gradle
68+
repositories {
69+
maven { url 'https://jitpack.io' }
70+
}
71+
72+
dependencies {
73+
implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v{{{artifactVersion}}}"
74+
}
75+
```
7076

71-
dependencies {
72-
implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v{{{artifactVersion}}}"
77+
78+
```kotlin
79+
// build.gradle.kts
80+
81+
repositories {
82+
maven {
83+
url = uri("https://jitpack.io")
7384
}
85+
}
86+
87+
dependencies {
88+
implementation("com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v{{{artifactVersion}}}")
89+
}
7490
```
7591

7692
### Others

0 commit comments

Comments
 (0)