Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for withRepositoryMirrors (0.16 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLayoutIntegrationTest.groovy

        @Rule
        public final TestResources resources = new TestResources(testDirectoryProvider)
    
        @Before
        void setUp() {
            executer.withRepositoryMirrors()
        }
    
        @Test
        void canHaveSomeSourceAndResourcesInSameDirectoryAndSomeInDifferentDirectories() {
            file('settings.gradle') << 'rootProject.name = "sharedSource"'
            file('build.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy

            version.split(":", 2)[0]
        }
    
        def setup() {
            // necessary for picking up some of the output/errorOutput when forked executer is used
            executer.withArgument("-i")
            executer.withRepositoryMirrors()
            groovyDependency = groovyModuleDependency("groovy", versionNumber)
        }
    
        def "compileGoodCode"() {
            if (module == "groovy-all") {
                // No groovy-all for indy variant
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 27K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

         * Note this doesn't work for buildSrc and composite build.
         *
         * @see org.gradle.integtests.fixtures.RepoScriptBlockUtil
         */
        GradleExecuter withRepositoryMirrors();
    
        /**
         * Requires an isolated gradle user home and put an init script which replaces all external repositories with inner mirrors.
         * This works for all scenarios.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

        }
    
        @Override
        public GradleExecuter withToolchainDownloadEnabled() {
            disableToolchainDownload = false;
            return this;
        }
    
        @Override
        public GradleExecuter withRepositoryMirrors() {
            beforeExecute(gradleExecuter -> usingInitScript(RepoScriptBlockUtil.createMirrorInitScript()));
            return this;
        }
    
        @Override
        public GradleExecuter withGlobalRepositoryMirrors() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top