Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for allocAll (0.4 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

            given:
            def pluginBuilder = withSoftwareTypePlugins()
            pluginBuilder.publishAs("com", "example", "1.0", pluginPortal, createExecuter()).allowAll()
    
            file("settings.gradle.dcl") << """
                plugins {
                    id("com.example.test-software-type").version("1.0")
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy

            given:
            def message = "hello from settings plugin"
            pluginBuilder.addSettingsPlugin("println '$message'")
            pluginBuilder.publishAs("org", "settings-plugin", "1.0", pluginRepo, createExecuter()).allowAll()
    
            and:
            settingsFile.text = """
                pluginManagement {
                    repositories {
                        maven { url "$pluginRepo.uri" }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/fixtures/publish/ModuleVersionSpec.groovy

                    spec.delegate = delegate
                    spec.resolveStrategy = Closure.DELEGATE_FIRST
                    spec()
                }
            }
        }
    
        void allowAll() {
            withModule {
                delegate.allowAll()
            }
        }
    
        void build(HttpRepository repository) {
            def module = repository.module(groupId, artifactId, version)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingUsingStrictlyPlatformAlignmentTest.groovy

            """
    
            and:
            "align the 'org' group only"()
    
            when:
            allowAllRepositoryInteractions {
                "com.amazonaws:aws-java-sdk-core:1.11.438" {
                    allowAll()
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("com.amazonaws:aws-java-sdk-core:1.11.438") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy

            def repo = mavenHttpRepo("repo")
            repo.getModuleMetaData('group', 'projectA').expectGet()
    
            repo.module('group', 'projectA', '1.5-SNAPSHOT').publish().allowAll()
            repo.module('group', 'projectA', '1.5-RC1').publish().allowAll()
    
            buildFile << createBuildFile(repo.uri)
    
            when:
            succeeds 'retrieve'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

        MavenHttpRepository repo
    
        def setup() {
            repo = new MavenHttpRepository(server, mavenRepo)
    
            repo.module("commons-io", "commons-io", "1.4").publish().allowAll()
            repo.module("", "test", "1.3-BUILD-SNAPSHOT").allowAll()
    
            server.start()
        }
    
        @Unroll("jars on buildscript classpath can change (loopNumber: #loopNumber)")
        def "jars on buildscript classpath can change"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy

                'org:from-buildsrc:1.0' {
                    expectResolve()
                }
                'org:from-main-build:1.0' {
                    expectResolve()
                }
            }
            plugin.allowAll()
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module('org:from-main-build:1.0')
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDynamicRevisionResolveIntegrationTest.groovy

                }
            }
            repositoryInteractions {
                'org.test:projectA' {
                    expectVersionListing()
                }
                'org.test:projectA:1.3' {
                    allowAll()
                }
                'org.test:projectA:1.2' {
                    expectHeadMetadata()
                    expectHeadArtifact()
                }
            }
            run 'checkDeps', '--refresh-dependencies'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

        public static final int HALF_DEFAULT_MAX_AGE_IN_DAYS = Math.max(1, DEFAULT_MAX_AGE_IN_DAYS_FOR_DOWNLOADED_CACHE_ENTRIES / 2 as int)
    
        def snapshotModule = mavenHttpRepo.module('org.example', 'example', '1.0-SNAPSHOT').publish().allowAll()
    
        def setup() {
            requireOwnGradleUserHomeDir("test requires its own journal")
        }
    
        def "does not clean up resources and files that were recently used from caches"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenSnapshotResolveIntegrationTest.groovy

            snapshotModule.allowAll()
    
            def nonUniqueSnapshotModule = mavenHttpRepo.module("org.gradle.integtests.resolve", "not-unique", "1.0-SNAPSHOT").withNonUniqueSnapshots()
            if (isGradleMetadataPublished()) {
                nonUniqueSnapshotModule.withModuleMetadata()
            }
            nonUniqueSnapshotModule.publish()
            nonUniqueSnapshotModule.allowAll()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 39K bytes
    - Viewed (0)
Back to top