Class ResourcesExtension

java.lang.Object
io.github.intisy.gradle.github.extension.ResourcesExtension

public class ResourcesExtension extends Object
Extension for configuring external resources to be used in the project.
  • Constructor Details

    • ResourcesExtension

      public ResourcesExtension()
  • Method Details

    • isBuildOnly

      public boolean isBuildOnly()
      Returns:
      Whether to only build the resources without including them in the project.
    • setBuildOnly

      public void setBuildOnly(boolean buildOnly)
      Parameters:
      buildOnly - Whether to only build the resources without including them in the project.
    • setRepo

      @Deprecated public void setRepo(String repoUrl)
      Deprecated.
      Use setRepoUrl(String) instead.
      Parameters:
      repoUrl - The URL of the repository.
    • setRepoUrl

      public void setRepoUrl(String repoUrl)
      Parameters:
      repoUrl - The URL of the repository.
    • getRepoUrl

      public String getRepoUrl()
      Returns:
      The URL of the repository.
    • getBranch

      public String getBranch()
      Returns:
      The branch of the repository to use.
    • setBranch

      public void setBranch(String branch)
      Parameters:
      branch - The branch of the repository to use.
    • getPath

      public String getPath()
      Returns:
      The path within the repository to the resources.
    • setPath

      public void setPath(String path)
      Parameters:
      path - The path within the repository to the resources.