- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,183 for Option (0.18 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) -
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) -
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) -
pkg/bootstrap/config.go
opts = append(opts, option.Localhost(option.LocalhostIPv6), option.AdditionalLocalhost(option.LocalhostIPv4), option.Wildcard(option.WildcardIPv6), option.AdditionalWildCard(option.WildcardIPv4), option.DNSLookupFamily(option.DNSLookupFamilyIPS)) } else { opts = append(opts, option.Localhost(option.LocalhostIPv4), option.AdditionalLocalhost(option.LocalhostIPv6),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:02:38 UTC 2024 - 27.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
assertThat(option.prefix, is("search_")); } /** * @throws Exception */ @Test public void testBeanDelimiter() throws Exception { final CopyOptions option = new CopyOptions(); assertThat(option.beanDelimiter('#'), is(sameInstance(option))); assertThat(option.beanDelimiter, is('#')); } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionIntegrationTest.groovy
} def "can render option with help for Java task with property"() { given: file('buildSrc/src/main/java/SampleTask.java') << taskWithSinglePropertyOption('Property', 'String') buildFile << sampleTask() when: succeeds('help', '--task', 'sample') then: outputContains(""" Options
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 28.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy
} def "generates -target option when current Jvm Version is used"() { spec.targetCompatibility = JavaVersion.current().toString() expect: builder.build() == ["-target", JavaVersion.current().toString()] + defaultOptions } def "generates -target option when compatibility differs current Jvm version"() { spec.targetCompatibility = "1.4"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:36 UTC 2024 - 11.9K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:59 UTC 2024 - 15.3K bytes - Viewed (0)