Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 75 for sourceDirectorySet (0.42 sec)

  1. 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)
  2. 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)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/plugins/NativeComponentModelPlugin.java

    import org.gradle.api.Plugin;
    import org.gradle.api.Project;
    import org.gradle.api.Task;
    import org.gradle.api.artifacts.repositories.ArtifactRepository;
    import org.gradle.api.file.FileCollection;
    import org.gradle.api.file.SourceDirectorySet;
    import org.gradle.api.internal.CollectionCallbackActionDecorator;
    import org.gradle.api.internal.DefaultPolymorphicDomainObjectContainer;
    import org.gradle.api.internal.collections.DomainObjectCollectionFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    link:{javadocPath}/org/gradle/api/file/SourceDirectorySet.html[SourceDirectorySet]:: Hierarchy of source directories
    Factories;;
    * link:{javadocPath}/org/gradle/api/model/ObjectFactory.html#sourceDirectorySet-java.lang.String-java.lang.String-[ObjectFactory.sourceDirectorySet(String, String)]
    
    === Lazy Collections API Reference
    
    Use these types for _mutable_ values:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

            failure.assertHasCause('Class Thing has no constructor that is annotated with @Inject.')
        }
    
        def "plugin can create SourceDirectorySet instances"() {
            given:
            buildFile << """
                def dirSet = project.objects.sourceDirectorySet("sources", "some source files")
                assert dirSet != null
            """
    
            expect:
            succeeds()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/scala_plugin.adoc

    `scala` — link:{groovyDslPath}/org.gradle.api.file.SourceDirectorySet.html[SourceDirectorySet] (read-only)::
    The Scala source files of this source set. Contains all `.scala` and `.java` files found in the Scala source directories, and excludes all other types of files. _Default value:_ non-null.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaPluginExtension.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 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/jvm/building_java_projects.adoc

    === Changing compiler options
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

        def "can construct file collection from the elements of a source directory set"() {
            buildFile """
                def fileCollection = objects.fileCollection()
                def sourceDirs = objects.sourceDirectorySet('main', 'main files')
                sourceDirs.srcDirs("dir1", "dir2")
                fileCollection.from(sourceDirs.srcDirTrees)
                println("files = \${fileCollection.files.name.sort()}")
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/jvm/jvm_test_suite_plugin.adoc

    ====
    
    <1> Declare and configure a suite named `integrationTest`.  The `SourceSet` and synthesized `Test` tasks will be based on this name.
    <2> Configure the `sources` of the test suite.
    <3> Configure the `java` SourceDirectorySet of the test suite.
    <4> Overwrite the `srcDirs` property, replacing the conventional `src/integrationTest/java` location with `src/it/java`.
    
    == Configure the type of a test suite
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 14:47:11 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top