Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for hasArguments (0.19 sec)

  1. .teamcity/.mvn/wrapper/maven-wrapper.jar

    argumentType; private String description; private String subcommand; private String deprecationWarning; private boolean incubating; public void CommandLineOption(Iterable); public java.util.Set getOptions(); public CommandLineOption hasArgument(); public CommandLineOption hasArguments(); public String getSubcommand(); public CommandLineOption mapsToSubcommand(String); public String getDescription(); public CommandLineOption hasDescription(String); public boolean getAllowsArguments(); public boolean getAllowsMultipleArg();...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
  2. integration-tests/gradle/gradle/wrapper/gradle-wrapper.jar

    description; private boolean incubating; private final java.util.Set groupWith; private boolean deprecated; public void CommandLineOption(Iterable); public java.util.Set getOptions(); public CommandLineOption hasArgument(Class); public CommandLineOption hasArgument(); public CommandLineOption hasArguments(); public String getDescription(); private void appendMessage(StringBuilder, boolean, String); public CommandLineOption hasDescription(String); public boolean getAllowsArguments(); public boolean getAllowsMultipleArg();...
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 62.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/buildCache/integration-tests/groovy/build.gradle

        @InputDirectory
        @PathSensitive(PathSensitivity.RELATIVE)  // <2>
        abstract DirectoryProperty getDistribution()
    
        @Override
        Iterable<String> asArguments() {
            ["-Ddistribution.location=${distribution.get().asFile.absolutePath}"]  // <3>
        }
    }
    
    tasks.named('integTest') {
        jvmArgumentProviders.add(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/buildCache/integration-tests/kotlin/build.gradle.kts

    abstract class DistributionLocationProvider : CommandLineArgumentProvider {  // <1>
        @get:InputDirectory
        @get:PathSensitive(PathSensitivity.RELATIVE)  // <2>
        abstract val distribution: DirectoryProperty
    
        override fun asArguments(): Iterable<String> =
            listOf("-Ddistribution.location=${distribution.get().asFile.absolutePath}")  // <3>
    }
    
    tasks.integTest {
        jvmArgumentProviders.add(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/base/customExternalTask/groovy/task/build.gradle

    class AddOpensArgProvider implements CommandLineArgumentProvider {
        private final Test test;
        public AddOpensArgProvider(Test test) {
            this.test = test;
        }
        @Override
        Iterable<String> asArguments() {
            return test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)
                ? ["--add-opens=java.base/java.lang=ALL-UNNAMED"]
                : []
        }
    }
    tasks.withType(Test).configureEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/base/customExternalTask/kotlin/task/build.gradle.kts

                from(components["java"])
            }
        }
    }
    
    // Needed when using ProjectBuilder
    class AddOpensArgProvider(private val test: Test) : CommandLineArgumentProvider {
        override fun asArguments() : Iterable<String> {
            return if (test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)) {
                listOf("--add-opens=java.base/java.lang=ALL-UNNAMED")
            } else {
                emptyList()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

        val metadatas: FileCollection
            get() = localRepo.asFileTree.matching {
                include("**/*.pom")
                include("**/*.xml")
                include("**/*.module")
            }
    
        override fun asArguments() =
            if (!localRepo.isEmpty) mapOf("integTest.localRepository" to localRepo.singleFile).asSystemPropertyJvmArguments()
            else emptyList()
    
        @Internal
        override fun getName() =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 01 22:53:59 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/IntegerBuildOption.java

            for (CommandLineOptionConfiguration config : commandLineOptionConfigurations) {
                configureCommandLineOption(parser, config.getAllOptions(), config.getDescription(), config.isDeprecated(), config.isIncubating()).hasArgument();
            }
        }
    
        @Override
        public void applyFromCommandLine(ParsedCommandLine options, T settings) {
            for (CommandLineOptionConfiguration config : commandLineOptionConfigurations) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy

                @Override
                Iterable<String> asArguments() {
                    return ['argFromProvider1', 'argFromProvider2']
                }
            }
            options.jvmArgumentProviders << new CommandLineArgumentProvider() {
                @Override
                Iterable<String> asArguments() {
                    return ['argFromProvider3']
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/process-services/src/main/java/org/gradle/process/CommandLineArgumentProvider.java

    /**
     * Provides arguments to a process.
     *
     * @since 4.6
     */
    public interface CommandLineArgumentProvider {
        /**
         * The arguments which will be provided to the process.
         */
        Iterable<String> asArguments();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 868 bytes
    - Viewed (0)
Back to top