Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for withBuildJvmOpts (0.2 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy

            m2.allowAll()
            m3.pom.expectGetBroken()
            m4.allowAll()
    
            expect:
            //TODO: fix dependency resolution results usage in this test and remove this flag
            executer.withBuildJvmOpts("-Dorg.gradle.configuration-cache.internal.task-execution-access-pre-stable=true")
    
            if (expression == "getFirstLevelModuleDependencies { true }") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

         *
         * @param jvmOpts the JVM opts
         * @return this executer
         */
        GradleExecuter withBuildJvmOpts(String... jvmOpts);
    
        /**
         * See {@link #withBuildJvmOpts(String...)}.
         */
        GradleExecuter withBuildJvmOpts(Iterable<String> jvmOpts);
    
        /**
         * Activates the build cache
         *
         * @return this executer
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

        @Issue("GRADLE-3573")
        def "jansi library is unpacked to gradle user home dir and isn't overwritten if existing"() {
            String tmpDirJvmOpt = "-Djava.io.tmpdir=$tmpDir.testDirectory.absolutePath"
            executer.withBuildJvmOpts(tmpDirJvmOpt)
    
            when:
            succeeds("help")
    
            then:
            library.exists()
            assertNoFilesInTmp()
            long lastModified = library.lastModified()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. platforms/software/reporting/src/integTest/groovy/org/gradle/api/reporting/plugins/BuildDashboardPluginIntegrationTest.groovy

            goodCode()
    
            buildFile << """
                buildDashboard {
                    reports.html.required = false
                }
            """
    
            when:
            executer.withBuildJvmOpts("-Dorg.gradle.configuration-cache.internal.task-execution-access-pre-stable=true")
            run('buildDashboard')
    
            then:
            !buildDashboardFile.exists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

    To disable this warning, set 'org.gradle.daemon.performance.disable-logging=true'."""
        GarbageCollectorUnderTest garbageCollector
    
        def setup() {
            garbageCollector = version
            executer.withBuildJvmOpts(garbageCollector.configuration.jvmArgs.split(" "))
            executer.withEnvironmentVars(JAVA_TOOL_OPTIONS: "-D${DefaultGarbageCollectionMonitor.DISABLE_POLLING_SYSTEM_PROPERTY}=true")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

        def "does not leak project state across multiple builds"() {
            fixture.withWorkActionClassInBuildSrc()
            executer.withBuildJvmOpts('-Xms256m', '-Xmx512m').requireIsolatedDaemons().requireDaemon()
    
            buildFile << """
                ext.memoryHog = new byte[1024*1024*150] // ~150MB
    
                tasks.withType(WorkerTask) { task ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy

                    }
                }
            """
    
            when:
            //TODO: remove this once dependency verification stops triggering dependency resolution at execution time
            executer.withBuildJvmOpts("-Dorg.gradle.configuration-cache.internal.task-execution-access-pre-stable=true")
            fails "resolve"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top