Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for sourceDirectorySet (0.39 sec)

  1. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/DefaultPrecompiledScriptPluginsSupport.kt

    fun Project.exposeScriptsAsGradlePlugins(scriptPlugins: List<PrecompiledScriptPlugin>, kotlinSourceDirectorySet: SourceDirectorySet) {
    
        scriptPlugins.forEach { validateScriptPlugin(it) }
    
        declareScriptPlugins(scriptPlugins)
    
        generatePluginAdaptersFor(scriptPlugins, kotlinSourceDirectorySet)
    }
    
    
    private
    fun SourceDirectorySet.collectScriptPluginFiles(): Set<File> =
        matching { it.include("**/*.gradle.kts") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 10:44:10 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

                        }
    
                        public void addSupplierWithSourceDirectorySet() {
                            SourceDirectorySet s = getProject().getObjects().sourceDirectorySet("test", "test");
                            addSupplier(() -> "source directory set name is " + s.getName());
                        }
    
                        @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinBuildScriptIntegrationTest.kt

            listOf(
                "the<SourceDirectorySet>()",
                "the(SourceDirectorySet::class)",
                "configure<SourceDirectorySet> {}",
            ).forEach { accessFlavor ->
                withBuildScript(accessFlavor)
                buildAndFail("help").apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

            DefaultSourceDirectorySet      | SourceDirectorySet | ""                                          | "project.objects.sourceDirectorySet('some', 'more')" | 'file tree'
        }
    
        @Requires(UnitTestPreconditions.Jdk14OrLater)
        def "reports when task field references a record containing type #baseType"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/model/ObjectFactory.java

        /**
         * Creates a {@link SourceDirectorySet}.
         *
         * @param name A short name for the set.
         * @param displayName A human consumable display name for the set.
         * @since 5.0
         */
        SourceDirectorySet sourceDirectorySet(String name, String displayName);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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