Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 471 for setPath (0.2 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ClasspathUtilTest.groovy

            when:
            def file = ClasspathUtil.getClasspathForResource(jarUrlWithResourceName, "Test.class")
    
            then:
            FILE.getPath() == file.getPath()
        }
    
        @Issue("https://github.com/gradle/gradle/issues/23625")
        def "getClasspathForResource for jar scheme with prefix resource name"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/configuration/ConfigurationTargetIdentifier.java

                @Nullable
                @Override
                public String getTargetPath() {
                    return project.getProjectPath().getPath();
                }
    
                @Override
                public String getBuildPath() {
                    return project.getGradle().getIdentityPath().getPath();
                }
            };
        }
    
        public static ConfigurationTargetIdentifier of(final SettingsInternal settings) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModel.java

                    int diff = STRING_COMPARATOR.compare(task1.getPath().getName(), task2.getPath().getName());
                    if (diff != 0) {
                        return diff;
                    }
                    Path parent1 = task1.getPath().getParent();
                    Path parent2 = task2.getPath().getParent();
                    if (parent1 == null && parent2 != null) {
                        return -1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 08 21:50:18 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/M2ResourcePattern.java

            Map<String, String> attributes = toAttributes(module, artifact);
            return getBase().getRoot().resolve(substituteTokens(getBase().getPath(), attributes));
        }
    
        @Override
        public ExternalResourceName toModulePath(ModuleIdentifier module) {
            String pattern = getBase().getPath();
            if (!pattern.endsWith(MavenPattern.M2_PATTERN)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/AmbiguousBindingReporter.java

        private static final Comparator<Provider> PROVIDER_COMPARATOR = new Comparator<Provider>() {
            @Override
            public int compare(Provider o1, Provider o2) {
                return o1.getPath().compareTo(o2.getPath());
            }
        };
    
        private final String referenceType;
        private final String referenceDescription;
        private final List<Provider> providers;
    
        public static class Provider {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/TaskIdentity.java

        }
    
        public String getTaskPath() {
            return projectPath.getPath();
        }
    
        public String getProjectPath() {
            return projectPath.getParent().getPath();
        }
    
        public String getIdentityPath() {
            return identityPath.getPath();
        }
    
        public String getBuildPath() {
            return buildPath.getPath();
        }
    
        public Class<T> getTaskType() {
            return type;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 24 12:01:24 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelElementProjection.java

            return InstanceModelView.of(modelNode.getPath(), MODEL_ELEMENT_MODEL_TYPE, new ModelElement() {
                @Override
                public String toString() {
                    return getDisplayName();
                }
    
                @Override
                public String getName() {
                    return modelNode.getPath().getName();
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/commandline/CommandLineTaskConfigurer.java

                } catch (CommandLineArgumentException e) {
                    //we expect that all options must be applicable for each task
                    throw new TaskConfigurationException(task.getPath(), "Problem configuring task " + task.getPath() + " from command line.", e);
                }
    
                for (OptionDescriptor commandLineOptionDescriptor : commandLineOptions) {
                    final String name = commandLineOptionDescriptor.getName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/DefaultProjectComponentIdentifier.java

                displayName = "project " + identityPath.getPath();
            }
            return displayName;
        }
    
        @Override
        public BuildIdentifier getBuild() {
            return buildIdentifier;
        }
    
        @Override
        public Path getIdentityPath() {
            return identityPath;
        }
    
        @Override
        public String getProjectPath() {
            return projectPath.getPath();
        }
    
        public Path projectPath() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 12 18:25:54 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/BindingPredicate.java

            ModelType<?> type = reference.getType();
            return "{type: " + (type == null ? null : type.getDisplayName()) + ", path: " + getPath() + ", scope: " + getScope() + ", state: " + getState() + "}";
        }
    
        @Nullable
        @Override
        public ModelPath getPath() {
            return reference.getPath();
        }
    
        public ModelType<?> getType() {
            return reference.getType();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top