Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for CurrentVersion (0.08 seconds)

  1. 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  3. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  5. 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java

                            + " is not met by current version: " + currentJavaVersion);
                }
            }
        }
    
        boolean matchesVersion(String requiredVersion, String currentVersion) {
            VersionConstraint constraint;
            try {
                constraint = versionScheme.parseVersionConstraint(requiredVersion);
            } catch (InvalidVersionSpecificationException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  7. cmd/server-rlimit.go

    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3/kernel"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/sys"
    )
    
    func oldLinux() bool {
    	currentKernel, err := kernel.CurrentVersion()
    	if err != nil {
    		// Could not probe the kernel version
    		return false
    	}
    
    	if currentKernel == 0 {
    		// We could not get any valid value return false
    		return false
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 02 15:09:36 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  8. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  9. 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top