Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 265 for withArgument (0.25 sec)

  1. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoResolveIntegrationTest.groovy

        RepositoryServer getServer() {
            return server
        }
    
        def setup() {
            // SFTP test fixture does not handle parallel resolution requests
            executer.beforeExecute {
                it.withArgument("--max-workers=1")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/AbstractIsolatedProjectsIntegrationTest.groovy

        public static final String ENABLE_CLI = "-D${PROPERTY_NAME}=true"
        final def fixture = new IsolatedProjectsFixture(this)
    
        void withIsolatedProjects() {
            executer.withArgument(ENABLE_CLI)
        }
    
        void isolatedProjectsRun(String... tasks) {
            run(ENABLE_CLI, *tasks)
        }
    
        void isolatedProjectsFails(String... tasks) {
            fails(ENABLE_CLI, *tasks)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/AbstractAntlrIntegrationTest.groovy

    abstract class AbstractAntlrIntegrationTest extends AbstractIntegrationSpec {
    
        def setup() {
            // So we can assert on which version of ANTLR is used at runtime
            executer.withArgument("-i")
            buildFile << """
                allprojects {
                    apply plugin: 'java'
                    ${mavenCentralRepository()}
                    tasks.withType(JavaCompile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractSampleIntegrationTest.groovy

        def configureExecuterForToolchains(String... versions) {
            def jdks = AvailableJavaHomes.getJdks(versions)
            Assume.assumeTrue(versions.length == jdks.size())
            executer.beforeExecute {
                withArgument("-Porg.gradle.java.installations.paths=" + jdks.collect { it.javaHome.absolutePath }.join(","))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/cache/CachingIntegrationFixture.groovy

        }
    
        TestFile getMetadataCacheDir() {
            return userHomeCacheDir.file(CacheLayout.MODULES.key)
        }
    
        void markForArtifactCacheCleanup() {
            executer.withArgument("-Dorg.gradle.internal.cleanup.external.max.age=-1")
            TestFile gcFile = metadataCacheDir.file("gc.properties")
            gcFile.createFile()
            assert gcFile.setLastModified(0)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/DynamicVersionsReadOnlyCacheDependencyResolutionTest.groovy

                }
            """
    
            when:
            withReadOnlyCache()
            latest.rootMetaData.allowGetOrHead()
            expectResolve(latest)
            if (resolveDynamic) {
                executer.withArgument("--refresh-dependencies")
            }
    
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', 'org.gradle:ro-test:20') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/AbstractWrapperIntegrationSpec.groovy

            executer.beforeExecute(action)
            executer.withArguments("wrapper", "--gradle-distribution-url", distributionUri.toString()).run()
        }
    
        void prepareWrapper(URI distributionUri = distribution.binDistribution.toURI(), TestKeyStore keyStore) {
            def executer = new InProcessGradleExecuter(distribution, temporaryFolder)
            executer.withArguments(
                "wrapper",
                "--gradle-distribution-url",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheConfigurationIntegrationTest.groovy

        }
    
        def "command-line --no-build-cache wins over system property"() {
            file("gradle.properties") << """
                org.gradle.caching=true
            """
            executer.withArgument("--no-build-cache")
            when:
            succeeds("help", "--info")
            then:
            outputDoesNotContain("Using local directory build cache")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 19 20:09:35 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy

            skipped(":javadoc")
    
            when:
            executer.withArgument("-Ptest.javadoc.version=${jdk2.javaVersion.majorVersion}")
            withInstallations(jdk1, jdk2).run(":javadoc")
            then:
            executedAndNotSkipped(":javadoc")
            file("build/docs/javadoc/Lib.html").text.contains("Some API documentation.")
    
            when:
            executer.withArgument("-Ptest.javadoc.version=${jdk2.javaVersion.majorVersion}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonStartupMessageIntegrationTest.groovy

            then:
            !output.contains(DaemonStartupMessage.STARTING_DAEMON_MESSAGE)
        }
    
        def "the message is not shown when quiet log level is requested"() {
            given:
            executer.withArgument("-q")
    
            when:
            succeeds()
    
            then:
            !output.contains(DaemonStartupMessage.STARTING_DAEMON_MESSAGE)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top