Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for normalizeUri (0.27 sec)

  1. gradle/shared-with-buildSrc/mirrors.settings.gradle.kts

                    originalUrls.forEach { name, originalUrl ->
                        if (normalizeUrl(originalUrl) == normalizeUrl(this.url.toString()) && mirrorUrls.containsKey(name)) {
                            mirrorUrls.get(name)?.let { this.setUrl(it) }
                        }
                    }
                }
            }
        }
    
        fun normalizeUrl(url: String): String {
            val result = url.replace("https://", "http://")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

            } else if (api == Api.RUNTIME_API) {
                Class<?> normalizer;
                if (inputAnnotation == Classpath) {
                    normalizer = ClasspathNormalizer
                } else if (inputAnnotation == CompileClasspath) {
                    normalizer = CompileClasspathNormalizer
                } else {
                    normalizer = null
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

            ignoreEmptyDirectories && !normalizer && pathSensitivity != PathSensitivity.NONE ? "DIRECTORY_SENSITIVITY_IGNORE_DIRECTORIES" : "DIRECTORY_SENSITIVITY_DEFAULT"
        }
    
        static String attributeFromPathSensitivity(PathSensitivity pathSensitivity, Class<? extends FileNormalizer> normalizer) {
            if (normalizer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/InputNormalizer.java

    import org.gradle.api.tasks.PathSensitivity;
    import org.gradle.internal.fingerprint.FileNormalizer;
    
    import java.util.Locale;
    
    // TODO Break this up between simple normalizers and Java classpath normalizers
    //      The latter should be moved to :normalization-java
    public enum InputNormalizer implements FileNormalizer {
        ABSOLUTE_PATH(false),
        RELATIVE_PATH(false),
        NAME_ONLY(false),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/UserInputReceiver.java

         * Does not block waiting for the input.
         */
        void readAndForwardText(Normalizer normalizer);
    
        /**
         * Requests that bytes should be read from this process' stdin and forwarded to the daemon.
         * Does not block waiting for the input.
         */
        void readAndForwardStdin();
    
        interface Normalizer {
            /**
             * Validates and normalizes the given text received from the user.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:03:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docsTest/java/org/gradle/docs/samples/BaseSamplesTest.java

     * limitations under the License.
     */
    
    package org.gradle.docs.samples;
    
    import org.gradle.exemplar.test.normalizer.FileSeparatorOutputNormalizer;
    import org.gradle.exemplar.test.normalizer.GradleOutputNormalizer;
    import org.gradle.exemplar.test.normalizer.JavaObjectSerializationOutputNormalizer;
    import org.gradle.exemplar.test.runner.SampleModifiers;
    import org.gradle.exemplar.test.runner.SamplesOutputNormalizers;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

            val propertyName: String,
            val propertyValue: PropertyValue,
            val optional: Boolean,
            val filePropertyType: InputFilePropertyType,
            val behavior: InputBehavior,
            val normalizer: FileNormalizer?,
            val directorySensitivity: DirectorySensitivity,
            val lineEndingSensitivity: LineEndingSensitivity
        ) : RegisteredProperty()
    
        data class OutputFile(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

                        dispatch.dispatch(message);
                    }
                });
            }
    
            @Override
            public void readAndForwardText(Normalizer normalizer) {
                executor.execute(() -> {
                    while (true) {
                        String input;
                        try {
                            input = reader.readLine();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/RepoScriptBlockUtil.groovy

        }
    
        static String mirrorInitScript() {
            def mirrorConditions = MirroredRepository.values().collect { MirroredRepository mirror ->
                """
                    if (normalizeUrl(repo.url) == normalizeUrl('${mirror.originalUrl}')) {
                        repo.url = '${mirror.mirrorUrl}'
                    }
                """
            }.join("")
            return """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

        public static void validateInputFileNormalizer(String propertyName, @Nullable FileNormalizer normalizer, boolean cacheable, TypeValidationContext validationContext) {
            if (cacheable) {
                if (normalizer == InputNormalizer.ABSOLUTE_PATH) {
                    validationContext.visitPropertyProblem(problem ->
                        problem
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top