Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getDslRefForProperty (1.31 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/api/internal/DocumentationRegistry.java

            return getDocumentationFor(id) + "#" + section;
        }
    
        public String getDslRefForProperty(Class<?> clazz, String property) {
            String className = clazz.getName();
            return String.format(DSL_PROPERTY_URL_FORMAT, BASE_URL, className, className, property);
        }
    
        public String getDslRefForProperty(String className, String property) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 14:14:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/api/internal/DocumentationRegistryTest.groovy

        }
    
        def "points users at the gradle dsl web site for specific property"() {
            expect:
            registry.getDslRefForProperty(org.gradle.api.Action.class, 'execute') == "https://docs.gradle.org/${gradleVersion.version}/dsl/org.gradle.api.Action.html#org.gradle.api.Action:execute"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DocumentationTest.groovy

        def "creates dsl reference for property"() {
            when:
            def documentationReference = Documentation.dslReference(Documentation, "property")
    
            then:
            def expectedUrl = DOCUMENTATION_REGISTRY.getDslRefForProperty(Documentation, "property")
            documentationReference.getUrl() == expectedUrl
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 15:24:26 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BaseDeprecations.groovy

            "This is scheduled to be removed in Gradle 9.0. " +
            "Please use the archiveFile property instead. " +
            String.format(RECOMMENDATION, "information", DOCUMENTATION_REGISTRY.getDslRefForProperty("org.gradle.api.tasks.bundling.AbstractArchiveTask","archivePath"))
    
        public static final String CONVENTION_TYPE_DEPRECATION = "The org.gradle.api.plugins.Convention type has been deprecated. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DuplicateHandlingCopyActionDecorator.java

            throw new InvalidUserCodeException(
                "Entry " + relativePath.getPathString() + " is a duplicate but no duplicate handling strategy has been set. " +
                "Please refer to " + documentationRegistry.getDslRefForProperty(Copy.class, "duplicatesStrategy") + " for details."
            );
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/ZipCopyActionTest.groovy

                    zipOutputStream
                }
            }
    
            def docRegistry = Mock(DocumentationRegistry)
            1 * docRegistry.getDslRefForProperty(Zip, "zip64") >> "doc url"
            0 * docRegistry._
    
            visitor = new ZipCopyAction(zipFile, compressor, docRegistry, encoding, false)
    
            when:
            zip(file("file2"))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/Documentation.java

                this.property = Preconditions.checkNotNull(property);
            }
    
            @Override
            public String getUrl() {
                return DOCUMENTATION_REGISTRY.getDslRefForProperty(targetClass, property);
            }
    
        }
    
        private static class KotlinDslExtensionReference extends SerializableDocumentation {
            private final String extensionName;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/NameValidationIntegrationTest.groovy

                " Set the 'rootProject.name' or adjust the 'include' statement (see ${settingsDslUrl} for more details).")
        }
    
        private getSettingsDslUrl() {
            documentationRegistry.getDslRefForProperty("org.gradle.api.initialization.Settings", "include(java.lang.String[])")
        }
    
        def "task names must not contain forbidden characters"() {
            given:
            buildFile << "task 'this/is/a/hierarchy'"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/initialization/DefaultProjectDescriptor.java

        public static final String INVALID_NAME_IN_INCLUDE_HINT = "Set the 'rootProject.name' or adjust the 'include' statement (see "
            + new DocumentationRegistry().getDslRefForProperty(Settings.class, "include(java.lang.String[])") + " for more details).";
    
        public static final String BUILD_SCRIPT_BASENAME = "build";
    
        private String name;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/ZipCopyAction.java

                        String.format("%s\n\nTo build this archive, please enable the zip64 extension.\nSee: %s", e.getCause().getMessage(), documentationRegistry.getDslRefForProperty(Zip.class, "zip64"))
                    );
                }
                zipFile.delete();
                throw e;
            }
    
            return WorkResults.didWork(true);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 08 14:16:53 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top