- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,535 for Option (0.11 sec)
-
platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java
} /** * Defines a new option. By default, the option takes no arguments and has no description. * * @param options The options values. * @return The option, which can be further configured. */ public CommandLineOption option(String... options) { for (String option : options) { if (optionsByString.containsKey(option)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 21.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc
The absence of the option uses the default value of the property. For each boolean option, an opposite option is created automatically. For example, `--no-foo` is created for the provided option `--foo` and `--bar` is created for `--no-bar`. Options whose name starts with `--no` are disabled options and set the option value to `false`. An opposite option is only created if no option with the same name already exists for the task. `Double`, `Property<Double>`::
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 25 15:21:05 UTC 2024 - 23.6K bytes - Viewed (0) -
platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/CommandLineParserTest.groovy
parser.option('a-option-other').hasDescription('this is option --a-option-other') parser.option('no-a-option').hasDescription('Disables option --a-option') parser.option('c-option') parser.option('no-c-option') def outstr = new StringWriter() expect: parser.printUsage(outstr) outstr.toString().readLines() == [
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:00:57 UTC 2023 - 20.8K bytes - Viewed (0) -
pkg/bootstrap/option/instances_test.go
key: "discovery_address", option: option.DiscoveryAddress("fake"), expected: "fake", }, { testName: "localhost v4", key: "localhost", option: option.Localhost(option.LocalhostIPv4), expected: option.LocalhostValue("127.0.0.1"), }, { testName: "localhost v6", key: "localhost", option: option.Localhost(option.LocalhostIPv6),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 22.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy
outputs.stdErr.contains('--broken') outputs.stdErr.contains('USAGE: gradle [option...] [task...]') outputs.stdErr.contains('--help') outputs.stdErr.contains('--some-option') and: 1 * actionFactory1.configureCommandLineParser(!null) >> {CommandLineParser parser -> parser.option('some-option')} 1 * executionListener.onFailure({it instanceof CommandLineArgumentException})
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 11.6K bytes - Viewed (0) -
.idea/inspectionProfiles/idea_default.xml
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" /> <option name="REQUIRED_TAGS" value="" /> </value> </option> <option name="INNER_CLASS_OPTIONS"> <value> <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" /> <option name="REQUIRED_TAGS" value="" /> </value> </option> <option name="METHOD_OPTIONS"> <value>
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Nov 09 20:59:03 UTC 2023 - 32.4K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/builder.go
if option.IsCustomBuilder { if len(policies.Custom) == 0 { return nil } return &Builder{ customPolicies: policies.Custom, extensions: processExtensionProvider(push), trustDomainBundle: trustDomainBundle, option: option, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 22:15:12 UTC 2023 - 12.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TaskBooleanOptionIntegrationTest.groovy
import org.gradle.api.tasks.options.Option; public class SampleTask extends DefaultTask { @Option(option = "my-option", description = "Option to trigger generation of opposite option.") private Boolean myOption; @Option(option = "no-my-option", description = "Option clashing with generated opposite option.") private Boolean noMyOption;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
return Optional.ofNullable(option); } /** * Returns the option followed by a string representation of the given path elements. * For example, if this type is {@link #MODULES}, then the option is {@code "--module-path"} * followed by the specified path elements. * * @param paths the path to format as a tool option
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 15K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java
* Set the project name. * * @since 5.0 */ @Option(option = "project-name", description = "Set the project name.") public void setProjectName(String projectName) { this.projectName = projectName; } /** * Set the package name. * * @since 5.0 */ @Option(option = "package", description = "Set the package for source files.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 10 12:58:10 UTC 2024 - 24.9K bytes - Viewed (0)