| Modifier and Type | Method and Description |
|---|---|
Makefile.Builder |
all(List<String> all)
(experimental) List of targets to build when Make is invoked without specifying any targets.
|
Makefile |
build() |
Makefile.Builder |
committed(Boolean committed)
(experimental) Indicates whether this file should be committed to git or ignored.
|
static Makefile.Builder |
create(Project project,
String filePath) |
Makefile.Builder |
editGitignore(Boolean editGitignore)
(experimental) Update the project's .gitignore file.
|
Makefile.Builder |
executable(Boolean executable)
(experimental) Whether the generated file should be marked as executable.
|
Makefile.Builder |
readonly(Boolean readonly)
(experimental) Whether the generated file should be readonly.
|
Makefile.Builder |
rules(List<? extends Rule> rules)
(experimental) Rules to include in the Makefile.
|
@Stability(value=Experimental) public static Makefile.Builder create(Project project, String filePath)
project - This parameter is required.filePath - This parameter is required.Makefile.Builder.@Stability(value=Experimental) public Makefile.Builder committed(Boolean committed)
By default, all generated files are committed and anti-tamper is used to protect against manual modifications.
Default: true
committed - Indicates whether this file should be committed to git or ignored. This parameter is required.this@Stability(value=Experimental) public Makefile.Builder editGitignore(Boolean editGitignore)
Default: true
editGitignore - Update the project's .gitignore file. This parameter is required.this@Stability(value=Experimental) public Makefile.Builder executable(Boolean executable)
Default: false
executable - Whether the generated file should be marked as executable. This parameter is required.this@Stability(value=Experimental) public Makefile.Builder readonly(Boolean readonly)
Default: true
readonly - Whether the generated file should be readonly. This parameter is required.this@Stability(value=Experimental) public Makefile.Builder all(List<String> all)
Default: []
all - List of targets to build when Make is invoked without specifying any targets. This parameter is required.this@Stability(value=Experimental) public Makefile.Builder rules(List<? extends Rule> rules)
Default: []
rules - Rules to include in the Makefile. This parameter is required.thisCopyright © 2021. All rights reserved.