Class ResourcesExtension
java.lang.Object
io.github.intisy.gradle.github.extension.ResourcesExtension
Extension for configuring external resources to be used in the project.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPath()booleanvoidvoidsetBuildOnly(boolean buildOnly) voidvoidDeprecated.voidsetRepoUrl(String repoUrl)
-
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.UsesetRepoUrl(String)instead.- Parameters:
repoUrl- The URL of the repository.
-
setRepoUrl
- Parameters:
repoUrl- The URL of the repository.
-
getRepoUrl
- Returns:
- The URL of the repository.
-
getBranch
- Returns:
- The branch of the repository to use.
-
setBranch
- Parameters:
branch- The branch of the repository to use.
-
getPath
- Returns:
- The path within the repository to the resources.
-
setPath
- Parameters:
path- The path within the repository to the resources.
-
setRepoUrl(String)instead.