Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for currentVersion (0.08 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt

        @TaskAction
        fun prepare() {
            val currentVersion = versionFile.asFile.get().readText().trim()
            val patchVersion = bumpPatchVersion(currentVersion)
            val major = currentVersion.split(".")[0].toInt()
    
            val previousReleasedVersion = fetchVersionFromGradleServices(major, currentVersion)
            versionFile.asFile.get().writeText(patchVersion)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationRuleCurrentGradleVersionSetup.java

    import java.util.Map;
    
    public class SinceAnnotationRuleCurrentGradleVersionSetup implements SetupRule {
    
        private final String currentVersion;
    
        public SinceAnnotationRuleCurrentGradleVersionSetup(Map<String, String> currentVersion) {
            this.currentVersion = currentVersion.get("currentVersion");
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContext context) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

            String currentVersion;
            boolean isProperty = false;
            String propertyName = null;
    
            if (versionElement != null) {
                currentVersion = versionElement.textContentTrimmed();
                // Check if version is a property reference
                if (currentVersion.startsWith("${") && currentVersion.endsWith("}")) {
                    isProperty = true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                processedPoms.add(pomPath);
    
                String currentVersion = ModelVersionUtils.detectModelVersion(pomDocument);
                context.info(pomPath + " (current: " + currentVersion + ")");
                context.indent();
    
                try {
                    if (!ModelVersionUtils.isEligibleForInference(currentVersion)) {
                        context.warning(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                processedPoms.add(pomPath);
    
                String currentVersion = ModelVersionUtils.detectModelVersion(pomDocument);
                context.info(pomPath + " (current: " + currentVersion + ")");
                context.indent();
    
                try {
                    if (currentVersion.equals(targetModelVersion)) {
                        context.success("Already at target version " + targetModelVersion);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy

                        addSetupRule(AcceptedRegressionsRuleSetup, [acceptedApiChanges: acceptedChanges])
                        addSetupRule(SinceAnnotationRuleCurrentGradleVersionSetup, [currentVersion: currentVersion])
                        addSetupRule(BinaryCompatibilityRepositorySetupRule, [
                            (BinaryCompatibilityRepositorySetupRule.Params.sourceRoots): sourceRoots.collect { it.absolutePath } as Set,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

            }
    
            try {
                // Generate new key version
                int currentVersion = keyVersions.getOrDefault(sessionId, 0);
                int newVersion = currentVersion + 1;
    
                // Derive new key from current key
                String rotationLabel = String.format("KeyRotation-v%d", newVersion);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                new Gson().toJson(acceptanceJson, AcceptedApiChange, writer)
            }
            return stringWriter.toString()
        }
    
        String getCurrentVersion() {
            return context.getUserData().get("currentVersion")
        }
    
        private String relativePathToMainApiChanges() {
            if (null != mainApiChangesJsonFile && null != projectRootDir) {
                return projectRootDir.relativePath(mainApiChangesJsonFile)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 10K bytes
    - Click Count (0)
  9. cmd/admin-handlers.go

    			CurrentVersion: Version,
    		})
    
    		for _, client := range globalNotificationSys.peerClients {
    			updateStatus.Results = append(updateStatus.Results, madmin.ServerPeerUpdateStatus{
    				Host:           client.String(),
    				Err:            fmt.Sprintf("server is running the latest version: %s", Version),
    				CurrentVersion: Version,
    			})
    		}
    
    		// Marshal API response
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

        }
    
        def isSnapshot = gradleModule.identity.snapshot
        inputs.files(acceptedViolationsFiles)
        inputs.property("baseline.version", compatibilityBaselineVersion)
        inputs.property("currentVersion", baseVersion)
        def apiSourceFolders = configurations.currentSources.incoming.artifactView { lenient(true) }.files
        inputs.files("apiSourceFolders", apiSourceFolders)
        inputs.files(currentClasspath)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top