Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add description for usage of append feature
  • Loading branch information
hacki11 committed Dec 14, 2017
commit 12791904e3501927e0d4b63d99b48f16c3ec01fa
17 changes: 17 additions & 0 deletions src/main/java/com/diffplug/gradle/p2/AsMavenPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,23 @@
*
* You can see all the available slicing options [here](https://wiki.eclipse.org/Equinox/p2/Ant_Tasks#SlicingOptions).
*
* ## Append option
*
* You can control whether iu's should be appended to destination repository
* true: already downloaded iu's are preserved, new iu's are downloaded into the existing repo
* false: Default value for goomph, repository will be completely cleared before download new iu's
*
* * ```groovy
* p2AsMaven {
* group 'eclipse-deps', {
* ...
* append true
* }
* }
* ```
*
* More info [here]{https://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_repositorytasks.htm}.
*
* ## Acknowledgements and comparisons to other options
*
* Inspired by Andrey Hihlovskiy's [unpuzzle](https://github.com/akhikhl/unpuzzle).
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/diffplug/gradle/p2/P2Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public void addSlicingOption(String option, String value) {
slicingOptions.put(option, value);
}

/** https://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_repositorytasks.htm **/
public void setAppend(boolean append) {
this.append = append;
}
Expand Down