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:
318318<plugin >
319319 <groupId >io.github.fvarrui</groupId >
320320 <artifactId >javapackager</artifactId >
321- <version >x.y.z -SNAPSHOT</version >
321+ <version >{javapackager.version} -SNAPSHOT</version >
322322 [...]
323323</plugin >
324324```
@@ -329,37 +329,49 @@ Or a specific SNAPSHOT version (specifying its timestamp and index):
329329<plugin >
330330 <groupId >io.github.fvarrui</groupId >
331331 <artifactId >javapackager</artifactId >
332- <version >x.y.z- timestamp- index</version >
332+ <version >{javapackager.version}-{ timestamp}-{ index} </version >
333333 [...]
334334</plugin >
335335```
336336
337+ > SNAPSHOT version example: ` 1.7.2-20230505.095442-5 ` .
338+
337339### Gradle
338340
339341Add the plugin repository to your ` build.gradle ` :
340342
341343``` groovy
342344buildscript {
343- repositories {
344- maven {
345+ repositories {
346+ maven {
345347 url "https://oss.sonatype.org/content/repositories/snapshots"
346348 }
347- }
349+ }
348350}
349351```
350352
351353And then you can use the latest SNAPSHOT version:
352354
353355``` groovy
354356buildscript {
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+ }
358360}
359361```
360362
361363Or a specific SNAPSHOT version (specifying its timestamp and index):
362364
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+
363375## How to build and install the plugin in your local repo
364376
365377Execute next commands in BASH (GNU/Linux or macOS) or CMD (Windows):
You can’t perform that action at this time.
0 commit comments