Skip to content

Commit 92e8d61

Browse files
committed
replace explicit versions with placeholder
1 parent 650f9d2 commit 92e8d61

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ Use of the Square Java SDK requires:
1212

1313
## Installation
1414

15+
[!NOTE]
16+
Replace `VERSION` in the examples below with the version you want to use. These instructions apply to version `44.0.0.20250319` and later.
17+
1518
### Gradle
1619

1720
Add the dependency in your `build.gradle`:
1821

1922
```groovy
2023
dependencies {
21-
implementation 'com.squareup:square:44.0.0.20250319'
24+
implementation 'com.squareup:square:VERSION'
2225
}
2326
```
2427

@@ -30,7 +33,7 @@ Add the dependency in your `pom.xml`:
3033
<dependency>
3134
<groupId>com.squareup</groupId>
3235
<artifactId>square</artifactId>
33-
<version>44.0.0.20250319</version>
36+
<version>VERSION</version>
3437
</dependency>
3538
```
3639

@@ -293,14 +296,19 @@ com.squareup.square.legacy.SquareClient legacyClient =
293296

294297
We recommend migrating to the new SDK using the following steps:
295298

299+
[!NOTE]
300+
Replace `VERSION` in the examples below with the version you want to use.
301+
These instructions apply to version `44.0.0.20250319` and later.
302+
303+
296304
1. Include the following dependencies in your project
297305

298306
Gradle:
299307

300308
```groovy
301309
dependencies {
302-
implementation 'com.squareup:square:44.0.0.20250319'
303-
implementation 'com.squareup:square-legacy:44.0.0.20250319'
310+
implementation 'com.squareup:square:VERSION'
311+
implementation 'com.squareup:square-legacy:VERSION'
304312
}
305313
```
306314

@@ -310,12 +318,12 @@ Maven:
310318
<dependency>
311319
<groupId>com.squareup</groupId>
312320
<artifactId>square</artifactId>
313-
<version>44.0.0.20250319</version>
321+
<version>VERSION</version>
314322
</dependency>
315323
<dependency>
316324
<groupId>com.squareup</groupId>
317325
<artifactId>square-legacy</artifactId>
318-
<version>44.0.0.20250319</version>
326+
<version>VERSION</version>
319327
</dependency>
320328
```
321329

0 commit comments

Comments
 (0)