Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for could (0.6 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

                } finally {
                    inputStream.close();
                }
            } catch (Exception e) {
                throw new GradleException(String.format("Could not load meta-data from %s.", repoFile), e);
            }
        }
    
        public void store(File repoFile) {
            try {
                FileOutputStream outputStream = new FileOutputStream(repoFile);
                try {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

    import gradlebuild.docs.dsl.source.ExtractDslMetaDataTask;
    
    /**
     * Generates DSL reference material using Docbook and some homegrown class parsing.
     *
     * TODO: It would be nice to replace the Docbook portion of this with Asciidoc so that it could be
     * generated in the same way as the user manual with cross-links between them.
     */
    public class GradleDslReferencePlugin implements Plugin<Project> {
        @Override
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

            }
    
            //this if is a bit cheesy but 1-letter classname surely means a generic type and the warning will be useless
            if (className.length() > 1) {
                listener.warning(String.format("Could not generate link for unknown class '%s'", className));
            }
            Element element = document.createElement("classname");
            element.appendChild(document.createTextNode(className));
            return element;
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                try {
                    return parse(rawCommentText, classMetaData, new NoOpCommentSource(), listener);
                } catch (Exception e) {
                    throw new GradleException(String.format("Could not convert javadoc comment to docbook.%nClass: %s%nComment: %s", classMetaData, rawCommentText), e);
                }
            } finally {
                listener.finish();
            }
        }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 29.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                options.setEncoding("utf-8");
                options.setDocEncoding("utf-8");
                options.setCharSet("utf-8");
    
                // TODO: This would be better to model as separate options
                options.addStringOption("Xdoclint:syntax,html,reference", "-quiet");
                // TODO: This breaks the provider
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Oct 16 13:03:20 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

     * This is not correct as it should do this with the built distribution instead.
     *
     * Doing it correctly would require running a Gradle build with the full
     * distribution and extracting the generated api jar from its Gradle user home,
     * slowing down building documentation.
     *
     * All this would be so much simpler if the Kotlin extensions to the Gradle API
     * were generated at build time instead.
     *
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Mar 19 17:15:23 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

         */
        public abstract DirectoryProperty getDocumentationRenderedRoot();
    
        /**
         * The collection of rendered documentation.  This is everything laid out as it would be deployed/packaged.
         */
        public abstract ConfigurableFileCollection getRenderedDocumentation();
    
        // These are all helper methods for configuring the parts of the documentation (DSL ref, javadoc, user manual, etc).
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Aug 11 08:52:40 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

                copySpec.from(getHtmlFile());
                copySpec.into(destinationFile.getParentFile());
                copySpec.rename(s -> destinationFile.getName());
    
                // TODO: Maybe this could be simplified by not using the copy infrastructure and just
                // calling the FilterReader ourselves.  We're just taking one file and turning it into another.
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Sep 28 06:35:15 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

            Node node = doResolve(link, classMetaData, listener);
            if (node != null) {
                return node;
            }
    
            listener.warning(String.format("Could not convert Javadoc link '%s'", link));
            Element element = document.createElement("UNHANDLED-LINK");
            element.appendChild(document.createTextNode(link));
            return element;
        }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

        public abstract DirectoryProperty getDestinationDirectory();
    
        @Inject
        protected abstract FileSystemOperations getFs();
    
        @TaskAction
        public void generate() {
            // TODO: This could probably use InputChanges API
            File destinationDirectory = getDestinationDirectory().get().getAsFile();
            getFs().delete(spec -> spec.delete(destinationDirectory));
            destinationDirectory.mkdirs();
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Sep 28 06:35:34 GMT 2021
    - 2.9K bytes
    - Viewed (0)
Back to top