Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for sourceDirectorySet (0.49 sec)

  1. platforms/documentation/docs/src/docs/userguide/core-plugins/antlr_plugin.adoc

    [[sec:antlr_convention_properties]]
    == Convention properties (deprecated)
    
    The ANTLR plugin adds one convention property.
    
    `antlr` — link:{groovyDslPath}/org.gradle.api.file.SourceDirectorySet.html[SourceDirectorySet]::
    The ANTLR grammar files of this source set. Contains all `.g` or `.g4` files found in the ANTLR source directories, and excludes all other types of files. _Default value is non-null._
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.SourceSetOutput.xml

                </thead>
                <tr>
                    <td>classesDirs</td>
                    <td>a file collection of each <literal><replaceable>${project.layout.buildDirectory}</replaceable>/classes/<replaceable>${sourceDirectorySet.name}</replaceable>/<replaceable>${sourceSet.name}</replaceable></literal></td>
                </tr>
                <tr>
                    <td>resourcesDir</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaSourceIncrementalCompilationIntegrationTest.groovy

            then:
            outputs.recompiledClasses("A", "B", "C")
            output.contains("Cannot infer source root(s) for source `file '${textFile.absolutePath}'`. Supported types are `File` (directories only), `DirectoryTree` and `SourceDirectorySet`.")
            output.contains("Full recompilation is required because the source roots could not be inferred.")
        }
    
        def "does not recompile when a resource changes"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/main/java/org/gradle/language/base/sources/BaseLanguageSourceSet.java

        public BaseLanguageSourceSet() {
            this(NEXT_SOURCE_SET_INFO.get());
        }
    
        private BaseLanguageSourceSet(SourceSetInfo info) {
            super(validate(info).identifier, info.publicType, info.objectFactory.sourceDirectorySet("source", "source"));
            this.objectFactory = info.objectFactory;
        }
    
        private static SourceSetInfo validate(SourceSetInfo info) {
            if (info == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CompilationSourceDirs.java

                canInferSourceRoots = false;
                LOG.info("Cannot infer source root(s) for source `{}`. Supported types are `File` (directories only), `DirectoryTree` and `SourceDirectorySet`.", fileCollection);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    }
    
    tasks.withType<CodeNarc>().configureEach {
        if (name.contains("IntegTest")) {
            config = configFile("codenarc-integtests.xml")
        }
    }
    
    val SourceSet.allGroovy: SourceDirectorySet
        get() = the<GroovySourceDirectorySet>()
    
    abstract class CodeNarcRule @Inject constructor(
        private val groovyVersion: String
    ) : ComponentMetadataRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/AntlrPlugin.java

            String displayName = parentDisplayName + " Antlr source";
            AntlrSourceDirectorySet antlrSourceSet = objectFactory.newInstance(DefaultAntlrSourceDirectorySet.class, objectFactory.sourceDirectorySet(name, displayName));
            antlrSourceSet.getFilter().include("**/*.g");
            antlrSourceSet.getFilter().include("**/*.g4");
            return antlrSourceSet;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaPluginConvention.java

         * is passed to the closure as its delegate.
         * <p>
         * See the example below how {@link org.gradle.api.tasks.SourceSet} 'main' is accessed and how the {@link org.gradle.api.file.SourceDirectorySet} 'java'
         * is configured to exclude some package from compilation.
         *
         * <pre class='autoTested'>
         * plugins {
         *     id 'java'
         * }
         *
         * sourceSets {
         *   main {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top