Class WithRepoConvention

java.lang.Object
com.diffplug.gradle.oomph.OomphConvention
com.diffplug.gradle.oomph.thirdparty.WithRepoConvention
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
ConventionBuildship, ConventionMinimalistGradleEditor, ConventionTmTerminal

public class WithRepoConvention extends OomphConvention
A Convention which is setup to add a default p2 repository which can be overridden.
  • Field Details

  • Constructor Details

  • Method Details

    • usingRepo

      public void usingRepo(@Nullable String repo)
      Overrides the default repo. Setting to null will remove the repo completely.
    • close

      public void close()
      Description copied from class: OomphConvention
      This is called when the convention block ends. Usually it can just be empty, but if you've been accumulating values, this is your chance to smush them down into a setup action (see ConventionJdt.
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class OomphConvention