File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ And then you can use the latest SNAPSHOT version:
318
318
<plugin >
319
319
<groupId >io.github.fvarrui</groupId >
320
320
<artifactId >javapackager</artifactId >
321
- <version >x.y.z -SNAPSHOT</version >
321
+ <version >{javapackager.version} -SNAPSHOT</version >
322
322
[...]
323
323
</plugin >
324
324
```
@@ -329,37 +329,49 @@ Or a specific SNAPSHOT version (specifying its timestamp and index):
329
329
<plugin >
330
330
<groupId >io.github.fvarrui</groupId >
331
331
<artifactId >javapackager</artifactId >
332
- <version >x.y.z- timestamp- index</version >
332
+ <version >{javapackager.version}-{ timestamp}-{ index} </version >
333
333
[...]
334
334
</plugin >
335
335
```
336
336
337
+ > SNAPSHOT version example: ` 1.7.2-20230505.095442-5 ` .
338
+
337
339
### Gradle
338
340
339
341
Add the plugin repository to your ` build.gradle ` :
340
342
341
343
``` groovy
342
344
buildscript {
343
- repositories {
344
- maven {
345
+ repositories {
346
+ maven {
345
347
url "https://oss.sonatype.org/content/repositories/snapshots"
346
348
}
347
- }
349
+ }
348
350
}
349
351
```
350
352
351
353
And then you can use the latest SNAPSHOT version:
352
354
353
355
``` groovy
354
356
buildscript {
355
- dependencies {
356
- classpath 'io.github.fvarrui:javapackager:x.y.z -SNAPSHOT'
357
- }
357
+ dependencies {
358
+ classpath 'io.github.fvarrui:javapackager:{javapackager.version} -SNAPSHOT'
359
+ }
358
360
}
359
361
```
360
362
361
363
Or a specific SNAPSHOT version (specifying its timestamp and index):
362
364
365
+ ``` groovy
366
+ buildscript {
367
+ dependencies {
368
+ classpath 'io.github.fvarrui:javapackager:{javapackager.version}-{timestamp}-{index}'
369
+ }
370
+ }
371
+ ```
372
+
373
+ > SNAPSHOT version example: ` 1.7.2-20230505.095442-5 ` .
374
+
363
375
## How to build and install the plugin in your local repo
364
376
365
377
Execute next commands in BASH (GNU/Linux or macOS) or CMD (Windows):
You can’t perform that action at this time.
0 commit comments