Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for getProjectDirectory (0.11 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.getReleaseNotes().set(extension.getReleaseNotes().getMarkdownFile());
                task.getMilestone().convention(project.getProviders().fileContents(project.getIsolated().getRootProject().getProjectDirectory().file("version.txt")).getAsText().map(String::trim));
            });
    
            tasks.register("updateFixedIssuesInReleaseNotes", UpdateFixedIssuesInReleaseNotes.class, task -> {
                task.setGroup("release notes");
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantExtension.java

            this.vmEnv = project.getObjects().mapProperty(String.class, Object.class);
            this.vagrantfile = project.getObjects().fileProperty();
            this.vagrantfile.convention(project.getRootProject().getLayout().getProjectDirectory().file("Vagrantfile"));
            this.isWindowsVM = false;
        }
    
        @Input
        public String getBox() {
            return box.get();
        }
    
        public void setBox(String box) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java

        /**
         * Gets the base directory of the current project (if any).
         *
         * @return The base directory of the current project or {@code null} if none.
         */
        File getProjectDirectory();
    
        /**
         * Gets current calculated project properties
         *
         * @return The project properties, never {@code null}.
         */
        Map<String, String> getProjectProperties();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            if (fromRepo) {
                // when model is read from repo, a stream is used, then pomFile == null
                // (has consequences in inheritance algorithm since getProjectDirectory() returns null)
                parent = parent.clone();
                parent.setPomFile(null);
                child = child.clone();
                child.setPomFile(null);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

            } else {
                this.userProperties = Collections.emptyMap();
            }
    
            return this;
        }
    
        @Override
        public File getProjectDirectory() {
            return projectDirectory;
        }
    
        /**
         * Sets the base directory of the current project.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

                    .filter(i -> allPatterns.matcher(lines.get(i)).find())
                    .boxed()
                    .collect(Collectors.toList());
    
                URI baseUri = getRootDir().orElse(projectLayout.getProjectDirectory().getAsFile()).get().toURI();
                String path = baseUri.relativize(f.toURI()).toString();
                failures.addAll(
                    invalidLines.stream()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseToolsPlugin.java

        }
    
        @Override
        public void apply(Project project) {
            project.getPluginManager().apply(PrecommitTaskPlugin.class);
            final Directory projectDirectory = projectLayout.getProjectDirectory();
    
            final Version version = VersionProperties.getElasticsearchVersion();
    
            final FileTree yamlFiles = projectDirectory.dir("docs/changelog")
                .getAsFileTree()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ValidateChangelogEntryTask.java

            this.changelogs = objectFactory.fileCollection();
            this.projectLayout = projectLayout;
        }
    
        @TaskAction
        public void executeTask() {
            final URI rootDir = projectLayout.getProjectDirectory().getAsFile().toURI();
            final Map<String, ChangelogEntry> changelogs = this.changelogs.getFiles()
                .stream()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

            if (path == null) {
                return null;
            }
    
            RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
    
            final File basedir = context.getProjectDirectory();
    
            if (basedir != null) {
                interpolator.addValueSource(new AbstractValueSource(false) {
                    @Override
                    public Object getValue(String expression) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

                task.into(extension.getDocumentationRenderedRoot());
            });
    
            extension.getSourceRoot().convention(layout.getProjectDirectory().dir("src/docs"));
            extension.getDocumentationRenderedRoot().convention(layout.getBuildDirectory().dir("docs"));
            extension.getStagingRoot().convention(layout.getBuildDirectory().dir("working"));
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 19 17:06:32 GMT 2026
    - 7.6K bytes
    - Click Count (0)
Back to Top