Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for projectLayout (0.15 sec)

  1. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/AbstractCppBinaryVisualStudioTargetBinary.java

        private final CppComponent component;
        private final ProjectLayout projectLayout;
    
        protected AbstractCppBinaryVisualStudioTargetBinary(String projectName, String projectPath, CppComponent component, ProjectLayout projectLayout) {
            this.projectName = projectName;
            this.projectPath = projectPath;
            this.component = component;
            this.projectLayout = projectLayout;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/common/dependency-reports/src/main/java/com/example/DependencyReportsPlugin.java

            private final ProjectLayout projectLayout;
    
            public FileExtractor(ProjectLayout projectLayout) {
                this.projectLayout = projectLayout;
            }
    
            @Override
            public List<RegularFile> transform(Collection<ResolvedArtifactResult> artifacts) {
                Directory projectDirectory = projectLayout.getProjectDirectory();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/definingUsingConfigurations-custom/groovy/build.gradle

        def projectLayout = layout
        doLast {
            ant.taskdef(classname: 'org.apache.jasper.JspC',
                        name: 'jasper',
                        classpath: jasperClasspath)
            ant.jasper(validateXml: false,
                       uriroot: projectLayout.projectDirectory.file('src/main/webapp').asFile,
                       outputDir: projectLayout.buildDirectory.file("compiled-jsps").get().asFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 719 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/definingUsingConfigurations-custom/kotlin/build.gradle.kts

    tasks.register("preCompileJsps") {
        val jasperClasspath = jasper.asPath
        val projectLayout = layout
        doLast {
            ant.withGroovyBuilder {
                "taskdef"("classname" to "org.apache.jasper.JspC",
                          "name" to "jasper",
                          "classpath" to jasperClasspath)
                "jasper"("validateXml" to false,
                         "uriroot" to projectLayout.projectDirectory.file("src/main/webapp").asFile,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 791 bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/CppApplicationVisualStudioTargetBinary.java

        private final CppExecutable binary;
    
        public CppApplicationVisualStudioTargetBinary(String projectName, String projectPath, CppComponent component, CppExecutable binary, ProjectLayout projectLayout) {
            super(projectName, projectPath, component, projectLayout);
            this.binary = binary;
        }
    
        @Override
        public String getVisualStudioProjectName() {
            return projectName;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/providers/services/groovy/build.gradle

    abstract class MyProjectLayoutTask extends DefaultTask {
        private ProjectLayout projectLayout
    
        @Inject //@javax.inject.Inject
        MyProjectLayoutTask(ProjectLayout projectLayout) {
            this.projectLayout = projectLayout
        }
    
        @TaskAction
        void doTaskAction() {
            var outputDirectory = projectLayout.projectDirectory
            println(outputDirectory)
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/CppStaticLibraryVisualStudioTargetBinary.java

        private final CppStaticLibrary binary;
    
        public CppStaticLibraryVisualStudioTargetBinary(String projectName, String projectPath, CppComponent component, CppStaticLibrary binary, ProjectLayout projectLayout) {
            super(projectName, projectPath, component, projectLayout);
            this.binary = binary;
        }
    
        @Override
        CppBinary getBinary() {
            return binary;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

            def dirNames = files*.name
            println("Source dirs: ${dirNames}") // [src, src2]
            // end::conventions[]
        }
    }
    
    tasks.register('usage') {
        ProjectLayout projectLayout = layout
        doLast {
            collection = projectLayout.files('src/file1.txt')
    
            // tag::usage[]
            // Iterate over the files in the collection
            collection.each { File file ->
                println file.name
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/CppSharedLibraryVisualStudioTargetBinary.java

        private final CppSharedLibrary binary;
    
        public CppSharedLibraryVisualStudioTargetBinary(String projectName, String projectPath, CppComponent component, CppSharedLibrary binary, ProjectLayout projectLayout) {
            super(projectName, projectPath, component, projectLayout);
            this.binary = binary;
        }
    
        @Override
        CppBinary getBinary() {
            return binary;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts

            println("Source dirs: $sourceDirNames") // [src, src2]
            // end::conventions[]
        }
    }
    
    tasks.register("usage") {
        val projectLayout = layout
        doLast {
            val collection = projectLayout.files("src/file1.txt")
    
            // tag::usage[]
            // Iterate over the files in the collection
            collection.forEach { file: File ->
                println(file.name)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top