File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,7 @@ buildscript {
82
82
}
83
83
}
84
84
85
- plugins {
86
- id 'io.github.fvarrui.javapackager.plugin'
87
- }
85
+ apply plugin: 'io.github.fvarrui.javapackager.plugin'
88
86
```
89
87
90
88
Create your packaging task:
@@ -338,7 +336,7 @@ Or a specific SNAPSHOT version (specifying its timestamp and index):
338
336
339
337
### Gradle
340
338
341
- Add the plugin repository to your ` build.gradle ` :
339
+ Add the plugin repository to your ` build.gradle ` and use the latest SNAPSHOT version :
342
340
343
341
``` groovy
344
342
buildscript {
@@ -347,23 +345,17 @@ buildscript {
347
345
url "https://oss.sonatype.org/content/repositories/snapshots"
348
346
}
349
347
}
350
- }
351
- ```
352
-
353
- And then you can use the latest SNAPSHOT version:
354
-
355
- ``` groovy
356
- buildscript {
357
348
dependencies {
358
349
classpath 'io.github.fvarrui:javapackager:{javapackager.version}-SNAPSHOT'
359
350
}
360
351
}
361
352
```
362
353
363
- Or a specific SNAPSHOT version ( specifying its timestamp and index) :
354
+ Or set a specific SNAPSHOT version specifying its timestamp and index:
364
355
365
356
``` groovy
366
357
buildscript {
358
+ [...]
367
359
dependencies {
368
360
classpath 'io.github.fvarrui:javapackager:{javapackager.version}-{timestamp}-{index}'
369
361
}
You can’t perform that action at this time.
0 commit comments