Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for projectLayout (0.12 sec)

  1. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/ApiGroovyCompiler.java

        private final Compiler<JavaCompileSpec> javaCompiler;
        private final ProjectLayout projectLayout;
    
        public ApiGroovyCompiler(Compiler<JavaCompileSpec> javaCompiler, ProjectLayout projectLayout) {
            this.javaCompiler = javaCompiler;
            this.projectLayout = projectLayout;
        }
    
        private static abstract class IncrementalCompilationCustomizer extends CompilationCustomizer {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    ====
    
    The `MyObjectFactoryTask` task uses an `ObjectFactory` instance, which is injected into the task's constructor using the `@Inject` annotation.
    
    [[sec:projectlayout]]
    == 2. `ProjectLayout`
    
    link:{groovyDslPath}/org.gradle.api.file.ProjectLayout.html[`ProjectLayout`] is a service that provides access to the layout of a Gradle project's directories and files.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/main/java/org/gradle/language/base/plugins/ComponentModelBasePlugin.java

                    }
    
                    transformations.createTasksFor(binary);
                }
            }
    
            @Model
            public ProjectLayout projectLayout(ProjectIdentifier projectIdentifier, @Path("buildDir") File buildDir) {
                return new ProjectLayout(projectIdentifier, buildDir);
            }
    
            @Model
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

    import org.gradle.api.Plugin;
    import org.gradle.api.Project;
    import org.gradle.api.file.Directory;
    import org.gradle.api.file.DirectoryProperty;
    import org.gradle.api.file.DuplicatesStrategy;
    import org.gradle.api.file.ProjectLayout;
    import org.gradle.api.file.RelativePath;
    import org.gradle.api.provider.Provider;
    import org.gradle.api.tasks.PathSensitivity;
    import org.gradle.api.tasks.SourceSetContainer;
    import org.gradle.api.tasks.Sync;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

                return suiteXmlWriter != null ? suiteXmlWriter.toString() : null;
            }
        });
    
        private final File projectDir;
    
        @Inject
        public TestNGOptions(ProjectLayout projectLayout) {
            this.projectDir = projectLayout.getProjectDirectory().getAsFile();
            this.getSuiteThreadPoolSize().convention(DEFAULT_SUITE_THREAD_POOL_SIZE_DEFAULT);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.workers.internal
    
    import org.gradle.api.Project
    import org.gradle.api.file.ProjectLayout
    import org.gradle.internal.reflect.Instantiator
    
    import static org.gradle.workers.fixtures.WorkerExecutorFixture.ISOLATION_MODES
    
    class WorkerExecutorServicesIntegrationTest extends AbstractWorkerExecutorIntegrationTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/file/ProjectLayoutIntegrationTest.groovy

                    @Inject
                    ProjectLayout getLayout() { null }
    
                    @TaskAction
                    void go() {
                        println "task build dir: " + layout.buildDirectory.get()
                    }
                }
    
                class SomePlugin implements Plugin<Project> {
                    @Inject SomePlugin(ProjectLayout layout) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 18:31:24 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

    
    @CacheableTask
    abstract class GeneratePrecompiledScriptPluginAccessors @Inject internal constructor(
    
        private
        val projectLayout: ProjectLayout,
    
        private
        val classLoaderScopeRegistry: ClassLoaderScopeRegistry,
    
        private
        val asyncIOScopeFactory: AsyncIOScopeFactory,
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                    @Inject
                    abstract ProjectLayout getProjectLayout()
    
                    @InputFiles
                    abstract ConfigurableFileCollection getInputFiles()
    
                    @OutputFiles
                    List<RegularFile> getOutputFiles() {
                        def buildDirectory = projectLayout.buildDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/AntlrTask.java

    package org.gradle.api.plugins.antlr;
    
    import org.gradle.api.NonNullApi;
    import org.gradle.api.file.FileCollection;
    import org.gradle.api.file.FileTree;
    import org.gradle.api.file.FileType;
    import org.gradle.api.file.ProjectLayout;
    import org.gradle.api.file.SourceDirectorySet;
    import org.gradle.api.plugins.antlr.internal.AntlrResult;
    import org.gradle.api.plugins.antlr.internal.AntlrSourceGenerationException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top