Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for cacheChangingModulesFor (0.75 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/troubleshooting-cache-changing/groovy/build.gradle

        }
    }
    
    dependencies {
        implementation 'org.springframework:spring-web:5.0.3.BUILD-SNAPSHOT'
    }
    
    // tag::changing-module-cache-control[]
    configurations.all {
        resolutionStrategy.cacheChangingModulesFor 4, 'hours'
    }
    // end::changing-module-cache-control[]
    
    tasks.register('copyLibs', Copy) {
        from configurations.compileClasspath
        into layout.buildDirectory.dir('libs')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 511 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/troubleshooting-cache-changing/kotlin/build.gradle.kts

        }
    }
    
    dependencies {
        implementation("org.springframework:spring-web:5.0.3.BUILD-SNAPSHOT")
    }
    
    // tag::changing-module-cache-control[]
    configurations.all {
        resolutionStrategy.cacheChangingModulesFor(4, "hours")
    }
    // end::changing-module-cache-control[]
    
    tasks.register<Copy>("copyLibs") {
        from(configurations.compileClasspath)
        into(layout.buildDirectory.dir("libs"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 519 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyChangingModuleRemoteResolveIntegrationTest.groovy

            given:
            buildFile << """
    repositories {
        ivy { url "${ivyHttpRepo.uri}" }
    }
    
    configurations { compile }
    
    configurations.all {
        resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
    }
    
    dependencies {
        compile group: "group", name: "projectA", version: "1.1", changing: true
    }
    
    task retrieve(type: Copy) {
        into 'build'
        from configurations.compile
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesChangingModulesIntegrationTest.groovy

        }
    
        def "rule can make a component changing"() {
            buildFile <<
    """
    $repoDeclaration
    configurations {
        modules {
            resolutionStrategy.cacheChangingModulesFor 0, "seconds"
        }
    }
    
    class ChangingTrueRule implements ComponentMetadataRule {
        public void execute(ComponentMetadataContext context) {
            context.details.changing = true
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedChangingModulesIntegrationTest.groovy

                    name 'repo'
                    url '${repo.uri}'
                }
            }
            configurations {
                compile
            }
    
            configurations.all {
                resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
            }
    
            dependencies {
                compile 'group:projectA:1.0-SNAPSHOT:source'
            }
    
            task retrieve(type: Sync) {
                into 'libs'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/dsl/org.gradle.api.artifacts.ResolutionStrategy.xml

                </tr>
                <tr>
                    <td>force</td>
                </tr>
                <tr>
                    <td>cacheDynamicVersionsFor</td>
                </tr>
                <tr>
                    <td>cacheChangingModulesFor</td>
                </tr>
                <tr>
                    <td>eachDependency</td>
                </tr>
                <tr>
                    <td>dependencySubstitution</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyCustomStatusLatestVersionIntegrationTest.groovy

    configurations { compile }
    dependencies {
        compile 'org.test:projectA:latest.release'
        components {
            all(StatusRule)
        }
    }
    
    configurations.all {
        resolutionStrategy {
            cacheChangingModulesFor 0, 'seconds'
        }
    }
    
    task retrieve(type: Sync) {
        from configurations.compile
        into 'libs'
    }
    """
    
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ResolutionOverrideIntegrationTest.groovy

            and:
            buildFile << """
    repositories {
        maven { url "${mavenHttpRepo.uri}" }
    }
    configurations { compile }
    configurations.all {
        resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
    }
    dependencies {
        compile "org.name:unique:1.0-SNAPSHOT"
    }
    task retrieve(type: Sync) {
        into 'libs'
        from configurations.compile
    }
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedDependencyResolutionIntegrationTest.groovy

        def setup() {
            buildFile << """
    repositories {
        ivy { url "${ivyHttpRepo.uri}" }
    }
    
    configurations { compile }
    
    configurations.all {
        resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
    }
    
    dependencies {
        compile group: "group", name: "projectA", version: "1.1", changing: true
    }
    
    task retrieve(type: Sync) {
        into 'build'
        from configurations.compile
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/MetadataArtifactResolveTestFixture.groovy

        }
    }
    
    dependencies {
        components {
            all(ChangingRule)
        }
    }
    
    if (project.hasProperty('nocache')) {
        configurations.all {
            resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
        }
    }
    """
        }
    
        MetadataArtifactResolveTestFixture requestComponent(String component) {
            this.requestedComponent = component
            this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top