Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 389 for withArgument (0.75 sec)

  1. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/java/compile/AbstractGroovyCompileAvoidanceIntegrationSpec.groovy

            executedAndNotSkipped ":b:compileGroovy"
        }
    
        def "recompile with change of local ast transformation"() {
            given:
            executer.beforeExecute {
                executer.withArgument('--info')
            }
            buildFile << astTransformationDeclaration()
            file("a/src/main/groovy/MyAnnotation.groovy") << astTransformationAnnotation()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/InvalidJvmInstallationReportingIntegrationTest.groovy

            when: "running two consecutive builds in a daemon"
            def results = (0..1).collect {
                executer
                    .withArgument("-Porg.gradle.java.installations.paths=$invalidJdkHome1.canonicalPath,$invalidJdkHome2.canonicalPath,$existingJdk.javaHome.absolutePath")
                    .withArgument("--info")
                    .requireIsolatedDaemons()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingCrossVersionIntegrationTest.groovy

            previousExecuter.withArgument("-Penable-block1")
            previousExecuter.withTasks("c")
            def build1 = previousExecuter.start()
            block1.waitForAllPendingCalls()
    
            // Start build 2 then wait until it has run both 'a' and 'b'.
            def currentExecuter = version(current)
            currentExecuter.withArgument("-Penable-block2")
            currentExecuter.withTasks("c")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/MavenToolchainsIntegrationTest.groovy

    class MavenToolchainsIntegrationTest extends AbstractIntegrationSpec {
        def "logs at info level when invalid toolchain file is provided"() {
            def toolchainsFile = file("toolchains.xml")
            executer.withArgument("-Porg.gradle.java.installations.maven-toolchains-file=${TextUtil.escape(toolchainsFile.absolutePath)}")
            executer.withToolchainDetectionEnabled()
            toolchainsFile << "not xml"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadComplexProjectSoakTest.groovy

            setupSubproject("subproject2", "Bar", otherJdkMetadata)
    
            when:
            result = executer
                    .withTasks("compileJava")
                    .withArgument("--info")
                    .run()
    
    
            then:
            result.plainTextOutput.matches("(?s).*Compiling with toolchain.*${DefaultJdkCacheDirectory.getInstallFolderName(jdkMetadata)}.*")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/isolated/IsolatedProjectsExecuterFixture.groovy

    @SelfType(AbstractIntegrationSpec)
    trait IsolatedProjectsExecuterFixture {
    
        private static final String ENABLE_CLI = "-D${PROPERTY_NAME}=true"
    
        void withIsolatedProjects() {
            executer.withArgument(ENABLE_CLI)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy

            run("a")
    
            then:
            result.assertTaskSkipped(":a")
    
            when:
            executer.withArgument("-Dname=b")
            run("a")
    
            then:
            result.assertTaskNotSkipped(":a")
            file("out.txt").text == "b"
    
            when:
            executer.withArgument("-Dname=b")
            run("a")
    
            then:
            result.assertTaskSkipped(":a")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:39:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                            tasks.create(name, SerialPing)
                        }
                    }
                }
            """
            executer.beforeExecute {
                withArgument('--info')
            }
        }
    
        void withInvalidPing() {
            buildFile << """
                abstract class InvalidPing extends Ping {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top