- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ModuleResolutionControl (0.18 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/cache/ModuleResolutionControl.java
import org.gradle.api.artifacts.ModuleVersionIdentifier; import org.gradle.api.artifacts.ResolvedModuleVersion; /** * Command methods for controlling module resolution via the DSL. */ public interface ModuleResolutionControl extends ResolutionControl<ModuleVersionIdentifier, ResolvedModuleVersion> { // TODO: This should be part of the cached result? /** * Does the module change content over time?
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicy.java
CachedModuleResolutionControl moduleResolutionControl = new CachedModuleResolutionControl(moduleVersionId, version, changingModule, age.toMillis(), changingModule ? keepChangingModulesFor: Long.MAX_VALUE); if (applyOfflineRule(moduleResolutionControl) || applyRefreshRule(moduleResolutionControl)) { return moduleResolutionControl; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 22:04:14 UTC 2023 - 14.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicySpec.groovy
expiry2.keepFor == Duration.ofMillis(SECOND) } def "provides details of cached module"() { expect: cachePolicy.eachModule(new Action<ModuleResolutionControl>() { void execute(ModuleResolutionControl t) { assertId(t.request, 'g', 'n', 'v') assertId(t.cachedResult.id, 'group', 'name', 'version') assert !t.changing
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 22:04:14 UTC 2023 - 22.3K bytes - Viewed (0)