Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for currentVersion (0.09 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-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java

                .filter(each -> each.isBefore(currentVersion) && (currentVersion.hasQualifier() == each.hasQualifier()))
                .sorted(naturalOrder())
                .collect(toList());
    
            if (earlierVersions.isEmpty()) {
                throw new GradleException("Failed to find git tags prior to [v" + currentVersion + "]");
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 12.9K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

            if (majors.size() != 2 && currentVersion.getMinor() != 0 && currentVersion.getRevision() != 0) {
                throw new IllegalStateException("Expected exactly 2 majors in parsed versions but found: " + majors);
            }
        }
    
        private void assertCurrentVersionMatchesParsed(Version currentVersionProperty) {
            if (currentVersionProperty.equals(currentVersion) == false) {
                throw new IllegalStateException(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. build-tools-internal/src/test/java/org/elasticsearch/gradle/internal/BwcVersionsTests.java

        }
    
        private BwcVersions getVersionCollection(String currentVersion) {
            return new BwcVersions(
                sampleVersions.get(currentVersion).stream().map(this::formatVersionToLine).collect(Collectors.toList()),
                Version.fromString(currentVersion)
            );
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 23.7K bytes
    - Click Count (0)
  10. 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)
Back to Top