- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for updateVersion (0.17 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchyRoot.java
*/ @CheckReturnValue public VersionHierarchyRoot updateVersion(String location) { long newVersion = rootNode.getMaxVersionInHierarchy() + 1; VfsRelativePath relativePath = VfsRelativePath.of(location); VersionHierarchy newRootNode = relativePath.isEmpty() ? VersionHierarchy.empty(newVersion) : rootNode.updateVersion(relativePath, newVersion, caseSensitivity);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchy.java
* * @param newVersion The new version. Must be bigger than the current maximum version in this hierarchy. */ @CheckReturnValue public VersionHierarchy updateVersion(VfsRelativePath relativePath, long newVersion, CaseSensitivity caseSensitivity) { ChildMap<VersionHierarchy> newChildren = children.store(relativePath, caseSensitivity, new ChildMap.StoreHandler<VersionHierarchy>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
/** {@inheritDoc} */ public ArtifactRepository getRepository() { return artifact.getRepository(); } /** {@inheritDoc} */ public void updateVersion(String version, ArtifactRepository localRepository) { artifact.updateVersion(version, localRepository); } /** {@inheritDoc} */ public String getDownloadUrl() { return artifact.getDownloadUrl(); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/VersionHierarchyRootTest.groovy
.inits().collect { "/${it.join('/')}".toString() } } private void updateVersions(String... locations) { VersionHierarchyRoot newVersionHierarchyRoot = versionHierarchyRoot for (location in locations) { newVersionHierarchyRoot = newVersionHierarchyRoot.updateVersion(location) } versionHierarchyRoot = newVersionHierarchyRoot }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java
throw new ArtifactNotFoundException("Unable to determine the latest version", artifact); } artifact.setBaseVersion(version); artifact.updateVersion(version, request.getLocalRepository()); } catch (RepositoryMetadataResolutionException e) { throw new ArtifactResolutionException(e.getMessage(), artifact, e); } } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 2.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java
throw new ArtifactNotFoundException("Unable to determine the release version", artifact); } artifact.setBaseVersion(version); artifact.updateVersion(version, request.getLocalRepository()); } catch (RepositoryMetadataResolutionException e) { throw new ArtifactResolutionException(e.getMessage(), artifact, e); } } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java
result = updateNotifyingListeners(diffListener -> currentRoot.invalidate(location, diffListener)); newVersionHierarchyRoot = newVersionHierarchyRoot.updateVersion(location); } versionHierarchyRoot = newVersionHierarchyRoot; return result; }); } @Override public void invalidateAll() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 5.5K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
Collection<ArtifactMetadata> getMetadataList(); void setRepository(ArtifactRepository remoteRepository); ArtifactRepository getRepository(); void updateVersion(String version, ArtifactRepository localRepository); String getDownloadUrl(); void setDownloadUrl(String downloadUrl); ArtifactFilter getDependencyFilter();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Feb 09 17:47:51 UTC 2023 - 4K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); artifact.updateVersion(version, request.getLocalRepository()); } catch (RepositoryMetadataResolutionException e) { throw new ArtifactResolutionException(e.getMessage(), artifact, e); } } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Sep 14 11:48:15 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultMutableVersionConstraint.java
updateVersions(preferredVersion, requiredVersion, strictVersion); for (String reject : rejects) { this.rejectedVersions.add(nullToEmpty(reject)); } this.branch = branch; } private void updateVersions(@Nullable String preferredVersion, @Nullable String requiredVersion, @Nullable String strictVersion) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 12:20:28 UTC 2024 - 6K bytes - Viewed (0)