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 {
8282 }
8383}
8484
85- plugins {
86- id 'io.github.fvarrui.javapackager.plugin'
87- }
85+ apply plugin: 'io.github.fvarrui.javapackager.plugin'
8886```
8987
9088Create your packaging task:
@@ -338,7 +336,7 @@ Or a specific SNAPSHOT version (specifying its timestamp and index):
338336
339337### Gradle
340338
341- Add the plugin repository to your ` build.gradle ` :
339+ Add the plugin repository to your ` build.gradle ` and use the latest SNAPSHOT version :
342340
343341``` groovy
344342buildscript {
@@ -347,23 +345,17 @@ buildscript {
347345 url "https://oss.sonatype.org/content/repositories/snapshots"
348346 }
349347 }
350- }
351- ```
352-
353- And then you can use the latest SNAPSHOT version:
354-
355- ``` groovy
356- buildscript {
357348 dependencies {
358349 classpath 'io.github.fvarrui:javapackager:{javapackager.version}-SNAPSHOT'
359350 }
360351}
361352```
362353
363- Or a specific SNAPSHOT version ( specifying its timestamp and index) :
354+ Or set a specific SNAPSHOT version specifying its timestamp and index:
364355
365356``` groovy
366357buildscript {
358+ [...]
367359 dependencies {
368360 classpath 'io.github.fvarrui:javapackager:{javapackager.version}-{timestamp}-{index}'
369361 }
You can’t perform that action at this time.
0 commit comments