Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Groovydoc (0.72 sec)

  1. platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/javadoc/Groovydoc.java

     *
     * <p>This task uses Groovy's Groovydoc tool to generate the API documentation. Please note
     * that the Groovydoc tool has some limitations at the moment. The version of the Groovydoc
     * that is used, is the one from the Groovy dependency defined in the build script.
     */
    @CacheableTask
    public abstract class Groovydoc extends SourceTask {
        private FileCollection groovyClasspath;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.javadoc.Groovydoc.xml

                    </tr>
                </thead>
                <tr>
                    <td>destinationDir</td>
                    <td><literal><replaceable>${project.docsDir}</replaceable>/groovydoc</literal></td>
                </tr>
                <tr>
                    <td>groovyClasspath</td>
                    <td><literal>project.configurations.groovy</literal></td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/javadoc/GroovydocTest.groovy

    class GroovydocTest extends AbstractConventionTaskTest {
        private Groovydoc groovydoc
    
        def setup() {
            groovydoc = createTask(Groovydoc.class)
        }
    
        ConventionTask getTask() {
            return groovydoc
        }
    
        def "link with null URL is invalid"() {
            when:
            groovydoc.link(null, "package")
    
            then:
            thrown(InvalidUserDataException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/GroovyDocIntegrationTest.groovy

            when:
            succeeds("groovydoc")
            then:
            executedAndNotSkipped(":groovydoc")
            file("build/docs/groovydoc/pkg/A.html").isFile()
            file("build/docs/groovydoc/pkg/B.html").isFile()
    
            when:
            assert bSource.delete()
            succeeds("groovydoc")
            then:
            executedAndNotSkipped(":groovydoc")
            file("build/docs/groovydoc/pkg/A.html").isFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/GroovyDocStampsIntegrationTest.groovy

        }
    
        def "time and version stamp can be enabled"() {
            when:
            buildFile << """
                groovydoc {
                  noTimestamp = false
                  noVersionStamp = false
                }
            """
    
            run "groovydoc"
    
            then:
            def text = file('build/docs/groovydoc/pkg/Thing.html').text
            text =~ GROOVY_DOC_TIMESTAMP_PATTERN
            text =~ GROOVY_DOC_VERSION_PATTERN
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/GroovyDocOptionsIntegrationTest.groovy

            when:
            buildFile << "groovydoc {}"
            run "groovydoc"
    
            then:
            def doc = file('build/docs/groovydoc/DefaultPackage/Script.html')
            doc.exists()
            doc.text =~ GROOVY_DOC_MAIN_PATTERN
        }
    
        def "scripts can be disabled"() {
            assumeTrue(supportsScriptsInGroovydoc())
            when:
            buildFile << "groovydoc { processScripts = false }"
            run "groovydoc"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/integtests/IncrementalGroovyProjectBuildIntegrationTest.groovy

                }
            '''
    
            when:
            run "groovydoc"
            then:
            indexFile.exists()
    
            when:
            def snapshot = indexFile.snapshot();
            run "groovydoc"
            then:
            skipped ":groovydoc"
            indexFile.assertHasNotChangedSince(snapshot)
    
            when:
            buildFile << '''
                groovydoc.link('http://download.oracle.com/javase/1.5.0/docs/api', 'java.')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/AntGroovydoc.java

                            "name", "groovydoc",
                            "classname", "org.codehaus.groovy.ant.Groovydoc"
                    ));
    
                    antBuilder.invokeMethod("groovydoc", new Object[]{args, new Closure<Object>(this, this) {
                        public Object doCall(Object ignore) {
                            for (Groovydoc.Link link : links) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-groovy/src/main/java/org/gradle/api/plugins/GroovyPlugin.java

            project.getTasks().register(GROOVYDOC_TASK_NAME, Groovydoc.class, groovyDoc -> {
                groovyDoc.setDescription("Generates Groovydoc API documentation for the main source code.");
                groovyDoc.setGroup(JavaBasePlugin.DOCUMENTATION_GROUP);
    
                JvmFeatureInternal mainFeature = JavaPluginHelper.getJavaComponent(project).getMainFeature();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/groovy/GroovyBasePluginIntegrationTest.groovy

    }
    
    ${mavenCentralRepository()}
    
    dependencies {
        customImplementation "$dependency"
    }
    
    task groovydoc(type: Groovydoc) {
        classpath = sourceSets.custom.runtimeClasspath
    }
    
    task verify {
        def compileCustomGroovyClasspath = compileCustomGroovy.groovyClasspath
        def groovydocGroovyClasspath = groovydoc.groovyClasspath
        doLast {
            assert compileCustomGroovyClasspath.files.any { it.name == "$jarFile" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top